Jdk1.7.0_10 with eclipse Juno
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
Related videos on Youtube
URL87
Bachelor of Computer Science - Bar Ilan University ,Israel.
Updated on September 18, 2022Comments
-
URL87 over 1 year
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 -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
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?
-
Dave over 11 yearsI could be well off, but I had so many issues with Eclipse, multiple reboots helped, so try and see if the problem persists
-
URL87 over 11 yearsIn quick observation you see something wrong ?
-
Dave over 11 yearsNo, 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
-
100rabh over 11 yearslooks like you're mixing Eclipse 64-bit & JRE/JDK 32-bit - don't mix & match, either stick to both 32-bit or 64-bit
-
URL87 over 11 years@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 ? -
100rabh over 11 years@URL87 yeah, that's the 32-bit version, further confirmed by the fact that it's installed in program files(x86) folder, which is generally for 32-bit programs
-
URL87 over 11 years@Sathya : So you recommend to download the
windows x64
version from here ? -
100rabh over 11 years@URL87 yes, that should work. Don't forget to change the path etc
-
100rabh over 11 years@URL87 great, I've posted an answer based on the comments
-