Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

Encountered JVM loader error when running Naming Service

Encountered JVM loader error when running Naming Service


Product: VisiBroker
Version: VisiBroker 8.0
Platform: Any supported

When running Naming Service, the following JVM loader error occurs,

JVM Loader Error:
   JVM can't be located in the PATH and the "javahome" specified in the configuration file.

The issue can be reproduced with the following steps:
1. Install 32-bit VisiBroker.
2. Update with 64-bit service pack.
3. Run ". ./vbroker.sh" from the bin directory of VisiBroker.
4. Run "nameserv".


The CPU architecture (32-bit or 64-bit) of the installed JVM does not match with the architecture of the applied VisiBroker installer binary or service pack archive. The binary that matches with the architecture of the installed JVM should be applied instead.

To check the supported architecture, refer to the VisiBroker links in the Product Updates page:


Click the link of the version or service pack and download the file that corresponds to the architecture of the installed JVM.

To check the architecture of the installed JVM, run either of the following commands:

For Java 32-bit version, run "java -d32 -version".
For Java 64-bit version, run "java -d64 -version".

The above commands return the version of the installed JVM that corresponds to the given architecture. If, for example, 64-bit is not supported, the following message will display:

"Running a 64-bit JVM is not supported on this platform."

The above commands do not work on Windows. In Windows, just run "java -version" and the output will display the JVM's architecture. The following output shows a 64-bit Java installed.

java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)



Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 21:03
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.