Skip to main content



      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] Sat, 24 October 2009 23:54 Go to next message
Eclipse UserFriend
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 04:31 Go to previous messageGo to next message
Eclipse UserFriend
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 16:05 Go to previous messageGo to next message
Eclipse UserFriend

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 12:00 Go to previous messageGo to next message
Eclipse UserFriend
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 02:12 Go to previous messageGo to next message
Eclipse UserFriend
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 10:37 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 29 March 2011 21:58 Go to previous messageGo to next message
Eclipse UserFriend
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 07:00 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 04 December 2012 21:51 Go to previous messageGo to next message
Eclipse UserFriend
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 00:06 Go to previous messageGo to next message
Eclipse UserFriend
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 16:10 Go to previous messageGo to next message
Eclipse UserFriend
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 16:51 Go to previous messageGo to next message
Eclipse UserFriend
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 09:32 Go to previous messageGo to next message
Eclipse UserFriend
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 11:52 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 11 April 2013 21:44 Go to previous messageGo to next message
Eclipse UserFriend
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 10:27 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 16:24:54 EDT 2025

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

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

Back to the top