0

Possible Duplicate:
Eclipse can’t find the JDK or JRE

I installed Eclipse Juno 64bit, but eclipse is not running . It is giving me error that it is unable to find jvm.dll and jdk etc. I provided the path to folder where JDK and jre is present in eclipse.ini but still I am getting errors and unable to run eclipse.

My JDK and jre are in C:/Program Files(x86)

How can I solve this issue?

Regards

Community
  • 1
  • 1
Umer Farooq
  • 31
  • 1
  • 6

2 Answers2

2

You cannot run a 64bit Eclipse with a 32bit JVM (32bit software goes to Program Files(x86)).

Install a 64bit version of Java or a 32bit version of Eclipse.

Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
0

In the eclipse.ini file, the key is that the -vm entry must come before the -vmargs entry and there is a line break between the -vm argument and your path.

It should be something like:
-vm
absolute_path_to_javaw.exe/javaw.exe

I believe you can also use java.exe (instead of javaw.exe).

Anything for running eclipse should come before the -vmargs line and anything for the JVM should be after it.

JamesB
  • 7,774
  • 2
  • 22
  • 21
  • A space is no problem as long as you either put the path behind the `-vm` without anything else on a single line or the `-vm` on one line and path (without any other option) on the next line. – Aaron Digulla Jan 21 '13 at 13:51