Windows error 2 occured while loading the Java VM


In some cases connector installation throws LaunchAnywhere error "Windows error 2 occured while loading the Java VM"


  • Java JRE/JDK not installed
  • JRE/JDK version 1.8.0_60 or later installed


1. Verify Java is installed and its version by invoking in command line

java -version

2. If Java version is 1.8.0_60 or later, invoke installer as follows (update the path to match where your java.exe is installed and connector installer being used)

sp-install-4.1.0.exe LAX_VM "C:\Program Files\Java\jre1.8.0_91\bin\java.exe"


Was this article helpful?
How can we improve it?