How to run Eclipse on Windows 7 64-bit [message #493344] |
Sun, 25 October 2009 03:54 |
No real name Messages: 1 Registered: October 2009 |
Junior Member |
|
|
It took me two hours of hunting the internet to find a solution to my problem, so I thought I would debut my forum posting to the community by giving steps on how to get Eclipse to work on Windows 7 64-bit.
When in the Release Candidate version of Windows 7 Ultimate Edition in 64-bit, I had no issue running Eclipse. But unfortunately, I had to do a clean install with the official release of Home Premium.
Naturally, I installed JDK and JRE as expected of the class I'm currently taking, but when I installed the 'required' Eclipse version for Windows, I would get the following error:
Quote: | 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:
D:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH
|
Naturally, the first thing I did was find my JRE (after that didn't work, I tried the same with JDK) and copy and pasted the path into eclipse folder. That gave me this error:
Quote: | JVM terminated. Exit code =-1
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=D:\eclipse\plugings/org.eclipse.equinox.la uncher_1.0.201.R35x_v20090715.jar
-os win32
-ws win32
-arch x86
-showsplash
D:\eclipse\\plugins\org.eclipse.platform_3.3.201.v2009091708 00\splash.bmp
-launcher D:\elipse\eclipse.exe
-name Eclipse
--launcher.library
D:\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32. x86_1.0.200.v20090519\eclipse_1206.dll
-startup
D:\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x _v20090715.jar
-product org.eclipse.epp.package.java.product
-vm D:\eclipse\jre\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=D:\eclipse\plugins/org.eclipse.equinox.lau ncher_1.0.201.R35x_v20090715.jar
|
Naturally, I was a little miffed. I don't need to bore you with all of the things I tried, like running in compatibility mode, reinstalling in different directories, reinstalling Java, etc. The point is none of those worked.
My logic told me that this was an issue between the 64-bit JDK and JRE that I had installed, and the 32-bit Eclipse. Perhaps a bug that doesn't let Eclipse 32-bit work with 64-bit. The problem was that on the website, there was only the one link for Windows. I meant to post a question if anyone had had this problem two hours ago, but while I was waiting, I found the solution for this problem:
linked on another website, I found a link to the 64-bit Windows version:
http:// download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111 540/download.php?dropFile=eclipse-SDK-3.5-win32-x86_64.zip
Once this version is installed, it will detect your 64-bit JREs and JDKs,
kudos to the author of: http:// lingpipe-blog.com/2009/03/05/eclipse-ide-for-64-bit-windows- and-64-bit-java/ I would have been unable to work on my class projects at home without it.
|
|
|
Re: How to run Eclipse on Windows 7 64-bit [message #493606 is a reply to message #493344] |
Tue, 27 October 2009 08:31 |
Mauro Molinari Messages: 285 Registered: July 2009 |
Senior Member |
|
|
prewett.6@buckeyemail.osu.edu ha scritto:
> It took me two hours of hunting the internet to find a solution to my
> problem, so I thought I would debut my forum posting to the community by
> giving steps on how to get Eclipse to work on Windows 7 64-bit.
Well, it's quite known that under a 64-bit OS (like Windows XP x64
Edition, Vista 64-bit or 7 64-bit) you need either Eclipse 32-bit+JRE
32-bit or Eclipse 64-bit+JRE 64-bit.
The main problem here, especially for first time users like you, is that
there's no Galileo package for 64-bit Windows available, so you need
to download Eclipse runtime yourself and then install all the needed
plugins.
I hope that with the release of Windows 7 and the next Eclipse release
(3.6), Windows 64-bit would start to be considered by the fundation a
"regular" case for users, rather than an "exception", just like it is
for Linux and Mac...
Mauro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03127 seconds