Home ยป Software

Fix Java Virtual Machine or JVM not found error

Fix Java Virtual Machine or JVM not found error: Are you having a problem with installing Eclipse and having Java installation error: Java virtual Machine or JVM not found then I might be able to solve your problem and help you running your version of eclipse.

Fix Java Virtual Machine or JVM not found error

First of all, there are 2 things to know, first have you installed Java Development kit(JDK) and if you have then still this error is coming?
Okay so let’s see how to fix both of the above things.

Fix Java Virtual Machine or JVM not found error

Method 1:

1)First, if you didn’t installed JDK which is necessary for running eclipse then go here and download it here.

2)The file is of 170mb, after finish downloading, install the file.

3)Now in some cases installing the JDK still doesn’t solve the problem, so what you have to do is Set the PATH of the JDK installation.

4)To set the path go to My computer, right click and select properties, another dialogue box will appear and select advance system settings.

advance in system properties

5)A new window will appear in which you have to search for Environment Variables and click on it to open it.

6)Now click on new and in variable name field write path and in variable value field paste the path of the JDK installation as shown.
Note: Paste your path of your java installation directory and version.

set path and value of new variable

7)Click Ok and save everything and now try opening Eclipse and I am pretty sure that you will be making the next big android app by now and little credit goes to me also, so it’s a win-win for everybody.

Also Read: Fix Cannot be Opened Because the Developer Cannot be Verified in Mac

Method 2:

1.Make sure both the Java version and Eclipse belongs to same architecture.So install 64-bit java for 64-bit eclipse and 32-bit java for 32-bit eclipse.

2.Open eclipse.ini from the root installation directory of eclipse and paste this code at the end of the code:

C:\Program Files\Java\jdk1.7.0_21\jre\bin\server\jvm.dll 
 //find it if you are having another JDK version.

That’s it you have successfully fix Java Virtual Machine or JVM not found error. Also read How to Fix Could Not Create the Java Virtual Machine in Windows 10 here. If you still have any questions regarding this post feel free to ask them in the comment’s section.

2 thoughts on “Fix Java Virtual Machine or JVM not found error”

  1. Avatar photo
    Cameron McKenzie

    As a note, sometimes there is a property file that points to the JVM, and that property file needs to be edited. I ran into this issue with Eclipse. It’s an easy fix.

Leave a Comment

Your email address will not be published. Required fields are marked *