Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to run Eclipse on Windows 7 64-bit(Specifically Home Premium 64-bit edition)
How to run Eclipse on Windows 7 64-bit [message #493344] Sun, 25 October 2009 03:54 Go to next message
No real name is currently offline No real nameFriend
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 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro MolinariFriend
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.
Re: How to run Eclipse on Windows 7 64-bit [message #552347 is a reply to message #493606] Wed, 11 August 2010 20:05 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: August 2010
Junior Member

I wanna ask a similar question under this title. I could installed eclipse 64x with 64x JRE on my 64 bits win7 it worked fine at the beginning but just after that i realized it is freezing when i do any action like open a folder or run a command. This happens and i close and open eclipse again go on working a litle bit and it happens again. eventually i can not work. Can you please help me with that if you know anything or at least can somebody tell me how to run my computer in 32x mode so i ll get rid of 64x problem at all?
Re: How to run Eclipse on Windows 7 64-bit [message #553194 is a reply to message #552347] Mon, 16 August 2010 16:00 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 285
Registered: July 2009
Senior Member
Il 11/08/2010 22.05, mustafaakmese@hotmail.com ha scritto:
>
> I wanna ask a similar question under this title. I could installed
> eclipse 64x with 64x JRE on my 64 bits win7 it worked fine at the
> beginning but just after that i realized it is freezing when i do any
> action like open a folder or run a command. This happens and i close and
> open eclipse again go on working a litle bit and it happens again.
> eventually i can not work. Can you please help me with that if you know
> anything or at least can somebody tell me how to run my computer in 32x
> mode so i ll get rid of 64x problem at all?

Are you using Oracle JRE 6u21? If so, try to download it again and
re-install. See: http://www.infoq.com/news/2010/07/eclipse-java-6u21

Mauro.
Re: How to run Eclipse on Windows 7 64-bit [message #641797 is a reply to message #493344] Sun, 28 November 2010 07:12 Go to previous messageGo to next message
Drake Christensen is currently offline Drake ChristensenFriend
Messages: 6
Registered: November 2010
Junior Member
I know this is an old thread, but obviously it's something that keeps coming up.

I just spent over an hour fighting this. I have a Win 7 64-bit, but somehow I've ended up with a 32-bit Java runtime.

Is there *any* way to detect this at Eclipse startup so that it gives an informative error message?

Like the original poster, I got the "JRE not found" type error message. When I pointed at javaw.exe I got "JVM terminated. Exit code =13". I searched on that but didn't find a page with a solution right away. Again, an informative error message at this point would have saved me a lot of time. Something along the lines of, "We see that you have 64-bit OS, but you have 32-bit Java. You need the 32-bit Eclipse to match it."

Who knows how many people gave up before spotting this mistake.

Drake
Re: How to run Eclipse on Windows 7 64-bit [message #655340 is a reply to message #641797] Sat, 19 February 2011 15:37 Go to previous messageGo to next message
alex_karate_do  is currently offline alex_karate_do Friend
Messages: 1
Registered: February 2011
Junior Member
Drake Christensen wrote on Sun, 28 November 2010 02:12
Again, an informative error message at this point would have saved me a lot of time. Something along the lines of, "We see that you have 64-bit OS, but you have 32-bit Java. You need the 32-bit Eclipse to match it."

Who knows how many people gave up before spotting this mistake.

Drake



Thanks very much, Drake, I had this problem with the installation. Your tip was very direct and clear and solved the situation!!!

Re: How to run Eclipse on Windows 7 64-bit [message #662271 is a reply to message #493344] Wed, 30 March 2011 01:58 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 1
Registered: March 2011
Junior Member
How did you fix it? =(
Re: How to run Eclipse on Windows 7 64-bit [message #716412 is a reply to message #493344] Wed, 17 August 2011 11:00 Go to previous messageGo to next message
Fatih  uruto?lu is currently offline Fatih uruto?luFriend
Messages: 1
Registered: August 2011
Junior Member
make a eclipse shortcut and right click the new shortcut. select properties and modify target as "eclipse target" -vm "jdk path"

eg.
D:\Fatih\Programlar\eclipse_clasic\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_26\bin"
Re: How to run Eclipse on Windows 7 64-bit [message #989182 is a reply to message #716412] Wed, 05 December 2012 02:51 Go to previous messageGo to next message
Alex P is currently offline Alex PFriend
Messages: 2
Registered: December 2012
Junior Member
Nothing works for me from above.

Please help!

Got Windows 7 64-bit PC

1. Installed JAVA jre 64-bit into default:
C:\Program Files (x86)\Java\jre7

2. Trying to run Eclipse 64-bit from:
C:\ADT\eclipse-SDK-4.2.1-win32-x86_64\eclipse

Still get that error message above about incorrect PATH.

index.php/fa/12599/0/


Re: How to run Eclipse on Windows 7 64-bit [message #989186 is a reply to message #989182] Wed, 05 December 2012 05:06 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
You don't have a 64 bit Java. The location you referenced would be a 32 bit java.

Once you have a Java version that matches your Eclipse download, the best way to get Eclipse running is to follow the instructions for specifying the JVM on the following page.

http://wiki.eclipse.org/Eclipse.ini
Re: How to run Eclipse on Windows 7 64-bit [message #990099 is a reply to message #989186] Mon, 10 December 2012 21:10 Go to previous messageGo to next message
Sylvain Bouchard is currently offline Sylvain BouchardFriend
Messages: 2
Registered: December 2012
Junior Member
I'm having an issue similar as Alex P. I'd wish to learn more about Eclipse, but it's quite hard without it running well. I'll have a loot to your link David. Thanks
Re: How to run Eclipse on Windows 7 64-bit [message #990104 is a reply to message #990099] Mon, 10 December 2012 21:51 Go to previous messageGo to next message
Alex P is currently offline Alex PFriend
Messages: 2
Registered: December 2012
Junior Member
Actually for me it was otherwise:

I WANTED a 64-bit version of both JAVA and Eclipse.

But this didn't work.

What fixed my problem is that I uninstalled 64-bit JAVA and downloaded 32-bit JAVA.

Installed it and it started to work!


That leads me to believe that the statement on Eclipse site about the version being a 64-bit is incorrect. If it works with 32-bit JAVA only.

Re: How to run Eclipse on Windows 7 64-bit [message #990238 is a reply to message #990104] Tue, 11 December 2012 14:32 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Based on your previous post, you may be confusing the 32 and 64 bit Java versions. Your post says that you installed Java in the default location C:\Program Files (x86)\Java\jre7. This is the default location for a 32 bit JRE not a 64 bit JRE. On a 64 bit Windows system, the default location for a 64 bit Java is C:\Program Files\Java\jrexxx directory.
Re: How to run Eclipse on Windows 7 64-bit [message #990275 is a reply to message #716412] Tue, 11 December 2012 16:52 Go to previous messageGo to next message
shahid saif is currently offline shahid saifFriend
Messages: 4
Registered: December 2012
Junior Member
Fatih uruto?lu wrote on Wed, 17 August 2011 07:00
make a eclipse shortcut and right click the new shortcut. select properties and modify target as "eclipse target" -vm "jdk path"

eg.
D:\Fatih\Programlar\eclipse_clasic\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_26\bin"






okey, now i am checking. many thanks
icon14.gif  Re: How to run Eclipse on Windows 7 64-bit [message #1039285 is a reply to message #493344] Fri, 12 April 2013 01:44 Go to previous messageGo to next message
raj d is currently offline raj dFriend
Messages: 1
Registered: April 2013
Junior Member
Great!! I just had to install the JRE (64bit) and it worked like a charm. I didn't realize my JRE was an x86 until I saw this post.
icon14.gif  Re: How to run Eclipse on Windows 7 64-bit [message #1715146 is a reply to message #716412] Thu, 19 November 2015 15:27 Go to previous message
SRIKANTH Bhamidipalli is currently offline SRIKANTH BhamidipalliFriend
Messages: 1
Registered: November 2015
Junior Member
Thanks a lot.
This worked well for me. I could open eclipse with this update
Previous Topic:Listening to an ITypeHierarchy of an IType that is being edited
Next Topic:isSubsignature() of method bindings returns false for calls of methods with type parameter
Goto Forum:
  


Current Time: Fri Apr 19 03:24:11 GMT 2024

Powered by FUDForum. Page generated in 0.03127 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top