How To Fix: Windows Error 2 Occurred While Loading the Java VM

How To Fix: "Windows Error" 2 Occurred While Loading the Java VM


Windows error 2 occured while loading the Java VM

Summary:

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

Cause:

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

Fix:

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"

2Nd Method:

LaunchAnywhere Error: Windows error 2 occured while loading the Java VM


The error in the title come out when i tried to install a stock trading software,is there any method to fix it?[ I have tried to install the software on another laptop to make sure it is not the problem of the software.Download link: https://www.osk188.com/page.jsp?name=download_apps]

Comments