Run eclipse troubleshooting for Error: no Java virtual machine in Eclipse

Many of the times getting the pop up that JVM is not configured properly even though installed properly.

Below trick will allow to run and probably resolve the issue.

My configuration was Win 10, Eclipse Version: 2018-12 (4.10.0), Java 1.8

Below are the steps 

1. Make sure that a Java Runtime Environment (JRE) or Java Development Kit (JDK)  installed on your system.

2. Open the eclipse.ini file in the Eclipse folder - which can be found under:

C:\Users\**[]**\eclipse\java-**EclipseVersion**\eclipse\eclipse.ini

3. Under the -VM value, add correct javaw.exe path - usually can be found under:

C:\Program Files\Java\**[]**\bin\javaw.exe

4. Save changes and run Eclipse successfully.

Hope that should work properly and able to open the eclipse

Comments

Popular Posts