JViews installer is failling on windows with error "Windows error 2 occured while loading the java VM"

Article ID: 2522
Last updated: 05 Jul, 2018
Article ID: 2522
Last updated: 05 Jul, 2018
Revision: 3
Views: 1734
Posted: 03 Sep, 2015
by Gargani A.
Updated: 05 Jul, 2018
by Gargani A.

Cause

The installer is using the Java location specified in the PATH environment variable, specifically:
C:\ProgramData\Oracle\Java\javapath
Then, the installer is appending \bin\java.exe to that directory path. But:
C:\ProgramData\Oracle\Java\javapath\bin\java.exe

does not exist. Hence, the installer fails to launch and instead displays the error.

This issue exists since java 1.8.0_60

Resolving the problem

In order to avoid the issue you need to launch the installer in command line and specify the path to java.exe from an earlier version of java as follows:

jviewsenterprise89.exe LAX_VM C:\Program Files\Java\jre1.8.0_50\bin\java.exe

Depending of the package you are installing you need to replace the name of the exe file by the one you want to install.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2522
Last updated: 05 Jul, 2018
Revision: 3
Views: 1734
Posted: 03 Sep, 2015 by Gargani A.
Updated: 05 Jul, 2018 by Gargani A.
Also listed in


Others in this category