background
I haven’t come across such a problem for a long time. It’s all about JavaVM. Learn as you go.
LaunchAnywhere Error:
Windows error 2 occured while loading the Java VM
or
LaunchAnywhere Error:
Windows error 216 occured while loading the Java VM
English version of the error message is important, mainly when searching, the likelihood of finding the answer is greatly increased.
To solve
The first case:
LaunchAnywhere Error:
Windows error 2 occured while loading the Java VM
The reason is that after installing the Java JDK or the compact version of RE runtime environment (which is included in the former), you need to manually set the environment variables based on the version. Can’t Oracle check for environment variables at install time and set them if necessary?
Set the method
The second case:
LaunchAnywhere Error:
Windows error 216 occured while loading the Java VM
This error occurred while trying to install a 64-bit program on a 32-bit machine.
Read More:
- Loading DLL with Java in Windows
- Error of oracel VM installing Windows Server 2012
- After windows VM is installed successfully, it is always prompted that this application may not work properly
- OpenProj can’t open or prompt “Failed to load Java VM Library” error solution
- How To Fix Windows Java Error 1723
- Error loading in flex integration: Java / jdk1.6.0_ 35\jre\bin\server\ jvm.dll
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- When Tomcat starts: IOException while loading persistent sessions: java.io.EOFException Solutions for
- solve java.net.SocketException : Unrecognized Windows Sockets error: 0: JVM_ Bind
- Windows Java application startup batch script
- Winsw throws an exception “error 1067: unexpected process termination” when converting Java application to Windows Service
- Installing Windows Identity Foundation on Windows 8 – The Certificate for the signer of the message …
- Java uses ZipFile to decompress the zip file and runs normally under Windows. Linux reports an error
- About how to solve the 8050800c error when Windows Update updates the definition of Windows Defender
- Memory leak in Windows 8.1 with Killer E2200 and Windows Network Data Usage Monitoring
- Hadoop download and install cloudera virtual machine (VM)
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Resolve the problem of “event ID 4107” or “event ID 11” errors recorded in the application logs of windows and windows server
- maven Error occurred during initialization of VM Too small initial heap
- Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object