• Register
1 vote


I am getting an error message: windows error 2 occurred while loading the java VM

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 this issue.

Somebody please step ahead and pull me up. Thanks

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

1 vote


The Windows error 2 while loading the Java VM error message is one that pops up for some users when trying to install software that relies on the Launch Anywhere Java launcher. Consequently, the users can’t install the software when that error message pops up.

We can solve the problem by checking these two steps one by one.

Updating Java: Go to java control panel and update your java to the latest and give it a try

# Deleting  Java system variable path: This problem might be solved after deleting the system variable path. To do this open Run and go to system properties by typing systempropertiesadvanced and then change/delete your path by taping on the advance tab.


13 9 6
94,240 points

Related questions

0 votes
1 answer 38 views
Does anyone know a solution?
asked Jan 4 TeamScript 13.5k points
0 votes
1 answer 70 views
I can't figure out why it's not working for me.
asked Dec 27, 2020 TeamScript 13.5k points
0 votes
1 answer 2 views
Problem: I am getting this error: VC++ Installs - Error 1603, “error 997.overlapped i/o operation is in progress Could someone please help me? This is really slowing down my work.
asked Apr 2 ummesalma 22.9k points
1 vote
1 answer 64 views
Problem : I am very new to Windows Services. Currently I am trying to create a custom windows service. I am trying to create the deployment package using the InstallShield and also the installation prompts for a user name and a password for a service Log On account. I did not had ... ;t still confirm whether a issue is to do with a OS or it is specific to machine that I am trying to install it on.
asked Apr 25, 2020 stewart 4k points
0 votes
1 answer 6 views
Problem: I'm having problems during as I mentioned in my question above. I tried to find it on a web search but I can't get proper information. Can you help me to continue my project? “‘jdk 1.5 downloads for windows 10 64 bit’”.
asked Mar 30 zayed1 24.7k points
0 votes
1 answer 2 views
Problem: Please help me … how jre download for windows 10 64 bit?
asked Mar 18 Ifra 24.4k points
0 votes
1 answer 35 views
I was working on that but I got into some problems.
asked Dec 3, 2020 TeamScript 13.5k points
0 votes
1 answer 173 views
Problem : I am having a box with 8gb of ram, so I don't think the total memory is the issue. This application is running properly on boxes with 6gb or less ram. What I am trying to do is to reserve 3GB of space using -Xmx3G command under "VM ... : Error occurred during initialization of VM; Could not reserve enough space for object heap using -Xmx3G Why am I getting such error any clue?
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 6 views
Problem: Can anyone guide me with the installation of xcom2 war of the chosen long war?
asked Mar 23 Sana8989 8.5k points
0 votes
1 answer 9 views
Problem: Why I am facing this error after opening an application. I have window seven ,64 bit OS installed. Java runtime environment not found technic launcher.
asked Mar 22 PkGuy 13.1k points