NOTICE: Our Community is moving. Get more information.
While trying to run the Micro Focus License Administration utility /var/microfocuslicensing/bin/cesadmintool.sh, the following error appeared:
Micro Focus License Administration
Java not present on PATH(or wrong version).
A 32bit Java 1.5 runtime is required to run the license
Please add java to your PATH and retry.
At the time of the error, the Java version was reported as follows:
# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
As explained in the Release Notes, the Visual COBOL product and the Micro Focus License Administration utility require Oracle's Java Platform, Enterprise Edition (Java EE) 7 or Java 8. The Visual COBOL product was not tested or certified with OpenJDK. The solution is to download Oracle's Java EE from Oracle's Web site and install it anywhere on your machine, then set JAVA_HOME to its location, then set PATH to include $JAVA_HOME/bin, for example: