0

A Java Runtime Environment or Java Development Kit must be available in order to run Eclipse. No Java Virtual Machine is found after searching the following location:

c:/Program Files/Java/jdk1.6.0_18/jre/bin
Gilles 'SO- stop being evil'
  • 104,111
  • 38
  • 209
  • 254
KDE
  • 1
  • 1
  • Hi KDE, welcome to stackoverflow! What exactly is your question? – THelper Aug 22 '11 at 09:04
  • See http://stackoverflow.com/questions/7077132/no-java-virtual-machine-was-found-in-eclipse/7077253#comment-8469553 and/or http://stackoverflow.com/questions/2030434/eclipse-no-java-jre-jdk-no-virtual-machine – Reporter Aug 22 '11 at 09:07

2 Answers2

0

Point into your jdk bin folder: c:/Program Files/Java/jdk1.6.0_18/bin rather than the jre/bin

dimitrisli
  • 20,895
  • 12
  • 59
  • 63
0

Check the PATH environment variable from your system properties, you might have an entry c:/Program Files/Java/jdk1.6.0_18/jre/bin, is this path accessible or even actually there?

Open the eclipse.ini file on the root directory of eclipse. Add an entry as below

-vm
C:\Backups\jdk1.6.0_13\bin\javaw.exe

Note the line break between the -vm and the actual path. On other note, Eclipse uses its own built-in compiler and doesnt really need the jdk.

Rajeev Sreedharan
  • 1,753
  • 4
  • 20
  • 30