How to fix the "JRE libraries are missing or not compatible" error
The Site24x7 On-Premise Poller installation may fail due to insufficient permissions on the default "tmp" directory.
If you face the "JRE libraries are missing or not compatible" error in the installation of On-Premise Poller in CentOS, follow the steps below:
Navigate to the directory where the Site24x7OnPremisePoller_64bit.bin file is located or execute the following command on your terminal:
sudo wget https://staticdownloads.site24x7.com/probe/Site24x7OnPremisePoller_64bit.bin
Note: Make sure to replace the bin file with the 64-bit version.
Ensure that the installer file has executable permissions. If the executable permission is missing, set it using the following command:
sudo chmod 755 Site24x7OnPremisePoller_64bit.bin
- Create a new directory for temporary installation files:
mkdir large_tmp
- Set the environment variable to specify the new directory as the temporary directory. Replace <absolute-path-of-large_tmp> with the actual path of the large_tmp directory.
export IATEMPDIR=/large_tmp
Example:
export IATEMPDIR=/home/john/data/document/large_tmp
- Execute the installer with the following command:
./Site24x7OnPremisePoller_64bit.bin -i console
If the issue is persistent after completing the steps above, try the following additional steps to install OpenJDK 11.
This may help address compatibility problems on RHEL-based Linux distributions:
- Install the java-11-openjdk-devel package:
sudo yum update -y
sudo yum install java-11-openjdk-devel -y
- Ensure the installer file is executable (if not already done):
sudo chmod 755 Site24x7OnPremisePoller_64bit.bin
- Execute the installer with the specified Java path:
If the installer does not automatically detect the correct Java path, you can manually execute using the Java binary from JDK 11. sudo ./Site24x7OnPremisePoller_64bit.bin LAX_VM /usr/lib/jvm/java-11-openjdk/bin/java
- Uninstall OpenJDK 11 if it was only installed for the On-Premise Poller's setup:
sudo yum remove java-11-openjdk-devel -y
Following the steps above will resolve the JRE compatibility issue, allowing the On-Premise Poller to install and execute precisely on your Linux-installed machine.
Related articles:
-
Configure the On-Premise Poller as a monitoring location for synthetic (browser) monitors
- Starting the On-Premise Poller as a service in Linux