Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Error running cesadmintool.sh: "Java not present on PATH(or wrong version)"

Error running cesadmintool.sh: "Java not present on PATH(or wrong version)"

Problem:

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 
        administration tool. 
        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) 

Resolution:

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:

export PATH=$JAVA_HOME/bin:$PATH

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2016-11-01 14:18
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.