Problem

  • Product : VisiBroker
  • Product Version: 8.5
  • Platform/OS version: Windows
In some particular Windows machines, VisiBroker installer does not work properly. After the installer files are extracted, installer does not prompt for further installation. How should we debug the issue?

Resolution

The VisiBroker’s installer is built using InstallAnywhere for its setup wizard. InstallAnywhere is based on Java, and it need a correct setting for the JVM. After the extraction, nothing occurs which indicate that there could be something wrong with the JRE/JDK install.

In order to capture the details of the issue, follow the below steps:

-          Double click on the executable file of VisiBroker
-          Hold the “Ctrl” button, until the extraction is done.
-          A console will be prompted with details of the issue.

You will see a similar message to the below:

In a command prompt, run the following command:
"C:\\Windows\\System32\\java.exe" -Xms16777216 -Xmx50331648 -classpath "<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\InstallerData\\IAClasses.zip;"<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\InstallerData\\Execute.zip;"<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\Windows\\InstallerData\\Execute.zip;<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\InstallerData\\Resource1.zip;<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\Windows\\InstallerData\\Resource1.zip;<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\InstallerData;<windows_user_dir>\\Local Settings\\Temp\\I1302014908\\Windows\\InstallerData;" com.zerog.lax.LAX "<windows_user_dir>/Local Settings/Temp/I1302014908/Windows/installer.lax" "<windows_user_dir>/Local Settings/Temp/lax8E.tmp"

Error occurred during initialization of VM

java/lang/NoClassDefFoundError: java/lang/Object

[press enter to close this window]

This issue occurs when JVM needs additional libraries (such as rt.jar), but they are not available in Windows\\System32 folder. The correct setting of java.exe in %PATH% environment variable will resolve the issue.

Below steps are steps to fix this problem:

-          Remove the temp folder
            eg. <windows_user_dir>\\Local Settings\\Temp\\I1302014908\\
-          Remove the 3 files (java.exe, javaw.exe & javaws.exe) from C:\\Windows\\System32 folder
-          Install a JDK (1.5 or 1.6)
-          Check again the environment variables to make sure that %JAVA_HOME% point to the correct version of JDK, and The %JAVA_HOME%\\bin stays infront of the %PATH% 
-          Reinstall the VisiBroker

Incident #2510649