Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (7k points)

I have been trying to install this ARToolkit from Qualcomm:

https://ar.qualcomm.at/qdevnet/ on a windows 7 64bits platform, and I keep getting this error:

Windows error 2 occurred while loading the Java VM

The program that is trying to install this program is Install Anywhere, but I cannot find any documentation about this error. The dialog box name when the crash happens is LaunchAnywhere

I was wondering if anyone had seen this kind of error before and if so, how can I solve it? I am currently using JDK 1.7.0_04 and JRE 1.7 if this is somehow relevant.

1 Answer

0 votes
by (13.1k points)

“Windows error 2” has dozens of meanings.

The most common one is ERROR_FILE_NOT_FOUND, which can be found in winerror.h. Without more context, that is the best I can guess. Did you check the logs to see if there is more information there?

If that did not work, please try this solution:

Launch the installer with the following command line parameters:
LAX_VM

For example: InstallXYz.exe LAX_VM “C:\Program Files(x86)\Java\jre6\bin\java.exe”

Want to learn Java? Check out the Java certification from Intellipaat.

Browse Categories

...