How do I fix No Java virtual machine found?
Andrew Mclaughlin
Updated on April 22, 2026
In summary, the steps to fix the Eclipse “No Java Virtual machine was found” error are:
- Edit the eclipse-inst. ini file.
- Add the -vm flag.
- Point the -vm flag to the JDK\bin\java location.
- Save the file.
- Re-run the Eclipse installer.
How do I find my Java virtual machine?
How can I determine whether the Microsoft Java Virtual Machine (JVM) is installed on my computer?
- Start a command prompt–go to Start, Run and type cmd.exe.
- Enter the Jview command by typing C:\< jview.
How do I fix Java Runtime Environment not found?
Enable the latest installed version of Java in the Java Control Panel
- In the Java Control Panel, click on the Java tab.
- Click View to display the Java Runtime Environment Settings.
- Verify that the latest Java Runtime version is enabled by checking the Enabled box.
- Click OK to save settings.
Why is Java not found?
Reason: Java is not installed in your system. Solution: Download and Install the latest version of Java in your system using the internet. Select Start -> Computer -> System Properties -> Advanced system settings -> Environment Variables -> System variables -> PATH.
How do I know if JRE is installed?
You might have either JRE(Java Runtime Environment) which is required to run java applications on the computer or JDK as shown below. 1. Open command prompt and enter “java –version”. If installed version number is displayed.
How to fix “no Java virtual machine was found” error in Eclipse?
Thus fixing the “No Java Virtual machine was found” error before using Eclipse is quite simple because there can be these small issues due to which Eclipse is unable to work. If these discussed points do not solve the error, you can try to uninstall Java from the system and once again install it and set the Path.
Why can’t I find Java virtual machine in Oracle SQL Developer?
Unable to find Java Virtual Machine. To point to a location of a Java Virtual Machine…. The Oracle SQL developer is NOT supported on 64 bits JDK. To solve it, install a 32 bits / x86 JDK and update your SQL developer config file, so that it points to the 32 bits JDK.
Why am I still seeing the following java path -VM?
In your current error message, are you still seeing the following Java path: -vm C:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\bin\\javaw.exe? You will need to be sure the -vm option or eclipse.ini points to a valid 64 bit javaw.exe. You can test its validity by running /path/to/java.exe -version and verifying it is indeed 64 bit.
Does path of Java matter in Eclipse?
After discussing all the possible points, the conclusion comes out that all that matters is the Path of Java. If it is set correctly and both Eclipse and Java are compatible and are of the same version, then the “No java virtual machine was found” error will not be thrown.