1

I downloaded Eclipse IDE for Java Developers for Windows 64 Bit from - eclipse download , and also jdk-7u9-windows-i586.exe from oracle downloads .

Then I installed the JDK in C:\Program Files (x86)\Java\jdk1.7.0_10 , and when I run the above eclipse I get -

enter image description here

A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse.

No Java virtual machine was found after searching the following locations:

C:\Program Files (x86)\eclipse_juno_java_developer\eclipse\jre\bin\javaw.exe in your current PATH

Likely the problem is in the Environment variables

enter image description here

I have in **User variable

PATH =  C:\Program Files (x86)\Java\jdk1.7.0_10\bin; 

and in system variable

JAVA_HOME  = C:\Program Files (x86)\Java\jdk1.7.0_10
PATH =  C:\Program Files (x86)\Java\jdk1.7.0_10 

My OS is Windows 7 Home Premium 64-bit Service Pack 1.

Any solution? What is wrong here?

9
  • I could be well off, but I had so many issues with Eclipse, multiple reboots helped, so try and see if the problem persists
    – Dave
    Jan 9, 2013 at 19:02
  • In quick observation you see something wrong ?
    – URL87
    Jan 9, 2013 at 19:07
  • No, nothing obvious, other than it's looking for something it can't see. And I assume it has been installed, hence a reboot may just put complete any installation process
    – Dave
    Jan 9, 2013 at 19:11
  • 2
    looks like you're mixing Eclipse 64-bit & JRE/JDK 32-bit - don't mix & match, either stick to both 32-bit or 64-bit
    – Sathyajith Bhat
    Jan 9, 2013 at 19:14
  • @Sathya : I have OS 64 bit and I want only eclipse and jdk for 64 bit . Does jdk-7u9-windows-i586.exe is not for 64 bit ?
    – URL87
    Jan 9, 2013 at 19:31

1 Answer 1

0

As I mentioned in comments, you've installed 64-bit version of Eclipse & on top of that, installed the 32-bit version of JRE/JDK. And then you're forcing the path - it's not a good idea to mix and match 32-bit / 64-bit dependencies.

I'd recommend you to uninstall both, remove the path changes you've done and stick to either 32-bit Eclipse/32-bit JRE/JDK or 64-bit Eclipse/64-bit JRE/JDK.

Once you've done that, all should be fine

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .