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.
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
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.
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.
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.
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:
-vm 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 but if you still have any questions regarding this post feel free to ask them in the comment’s section.