
This method is widely regarded as the best fix for this type of problem.

Method 2: Launch the installer with the LAX_VM parameter
JAVA 60 DOWNLOAD FAILED INSTALL
If you’re still seeing the “ Windows Error 2 Occurred While Loading the Java VM” error when you open the installer, proceed to download and install the older version of Java instead of the newer one and check if your error is fixed. This should ensure that you take advantage of the latest compatibility fixes that were issued by the involved developers. If you had the installation executable in your computer for a while, go online and download the latest available version of the software that you’re trying to install. Once the newest version is installed, reboot your computer and make sure you have the latest version of the installer that is showing the “ Windows Error 2 Occurred While Loading the Java VM” error. But just in case you ignored those prompts, you can update to the latest version using this link ( here). Java will automatically prompt you on every Windows version when it needs to update. You can probably avoid getting your hands dirty by making sure you are using the latest Java release and the latest installer version. Although the other methods below most likely resolve the issue, they all require a certain degree of technicality. This issue is almost three years old, so you can probably assume that a lot of compatibility problems were already solved by the involved parties. Let’s begin! Method 1: Use the latest updates available Please follow each potential fix in order until you encounter a method that resolves your situation. If you’re currently struggling with this issue, you’d be pleased to know we managed to identify a few fixes that have been extremely helpful for a lot of users in a similar situation as you.
