Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
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 Rook Jan 9 '13 at 19:02
    
In quick observation you see something wrong ? –  URL87 Jan 9 '13 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 Rook Jan 9 '13 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 –  Sathya Jan 9 '13 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 '13 at 19:31

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.