Bhavith Reddy
Bhavith Reddy

Reputation: 21

No virtual machine was found error: Eclipse

When i tried to run eclipse, i am getting the following error: "No virtual Machine was found after searching the following locations:C:\Program Files\Java\jdk1.8.0_73\bin\server\jvm.dll"

Upvotes: 2

Views: 741

Answers (1)

xcesco
xcesco

Reputation: 4838

Check if in the file eclipse.ini in the base directory of Eclipse there is a line for define the JDK to use to launch Eclipse. An example of parameter definition is:

-vm
C:/Program Files/Java/jdk1.8.0_31/bin/javaw.exe

You have to check the following things:

  • The path exist and it is a JDK, not an JRE.
  • Eclipse version must same of JDK: an 64bit Eclipse need an 64bit JDK, an 32bit Eclipse need a 32bit JDK.

Hope it helps.

Upvotes: 1

Related Questions