javawindowsinstallationinstallanywhere

Windows error 2 occured while loading the Java VM


I've been trying to install this ARToolkit from Qualcomm: https://ar.qualcomm.at/qdevnet/ (Windows ".exe" version) on a Windows 7 64bits platform, and I keep getting the error:

Windows error 2 occured while loading the Java VM

The program trying to install this program is InstallAnywhere, but I can't seem to find any documentation about this error. The dialogue box name when the crash happens is LaunchAnywhere

I was just wondering if anyone had seen this kind of error before and if so, how to solve it. The very few answers I can find online relate to Win98/ME issues thus making them irrelevant.

I'm currently using JDK 1.7.0_04 and jre 1.7 if this is somehow relevant.


Solution

  • 'Windows error 2' has dozens of meanings (52 that I could find).

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