Fix JVM not Found Error: Having a problem installing Eclipse and you have a Java installation error: Java Virtual Machine or JVM not found then it might be able to solve your problem and help you run your version of Eclipse.
First of all, there are 2 things you should know, first you have installed the Java Development Kit (JDK) and if you have then this error still comes? Okay, so let’s see how to fix the above two things.
Fix Java Virtual Machine or JVM not found error
Method 1:
1) First, if you didn’t install the JDK that is necessary for the eclipse to work, then go here and download it here.
2) The file is 170mb, after you finish downloading, please install the file.
3) Now, in some cases the JDK installation still does not solve the problem, so what you have to do is set the JDK installation PATH.
4) To set the path go to My Computer, right click and select properties, another dialog box will appear and select advanced system settings.
5) A new window will appear in which you have to look for the Environment Variables and click on it to open it.
6) Now click new and variable name field write path and variable value field paste the JDK installation path as shown Note: Paste the path of your java installation directory and version.
7) Click Ok and save everything and now try to open Eclipse and I’m pretty sure you’ll be making the next big android app by now and little credit to me too so it’s a win-win for everyone.
Method 2:
1. Make sure both the Java version and the Eclipse version belong to the 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 directory of the eclipse installation and paste this code at the end of it:
-vm C: N- Program FilesN- JavaN-jdk1.7.0_21N-Blog Server // Find it if you have another version of the JDK.