Eclipse on 64-bit Windows 7 [message #495526] |
Thu, 05 November 2009 09:16 |
Missing name Mising name Messages: 3 Registered: November 2009 |
Junior Member |
|
|
I recently installed Windows 7 (64-bit) onto my laptop. I am a college student with a major in computer science and I am learning Java. Eclipse IDE for Java Developers worked perfectly fine with my 64-bit Windows Vista, but now, every time I try to open Eclipse, I get this error message:
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:\Users\Corbyn\Desktop\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH
I'm not completely sure what it's asking for, so help would be greatly appreciated
EDIT: Forgot to mention that there is no such folder ( \jre ) in my eclipse directory.
[Updated on: Mon, 17 March 2014 20:58] Report message to a moderator
|
|
|
Re: Eclipse on 64-bit Windows 7 [message #495617 is a reply to message #495526] |
Thu, 05 November 2009 14:08 |
|
cjohnson1991@gmail.com wrote:
> I recently installed Windows 7 (64-bit) onto my laptop. I am a college
> student with a major in computer science and I am learning Java. Eclipse
> IDE for Java Developers worked perfectly fine with my 64-bit Windows
> Vista, but now, every time I try to open Eclipse, I get this error message:
>
> 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:\Users\Corbyn\Desktop\eclipse\jre\bin\javaw.exe
> javaw.exe in your current PATH
>
> I'm not completely sure what it's asking for, so help would be greatly
> appreciated
I can't specifically answer your question, but as noted frequently in
this forum, you should specifically use the -vm switch in your
eclipse.ini file to avoid such trouble.
http://wiki.eclipse.org/Eclipse.ini
Russ Bateman
|
|
|
|
|
|
|
|
Re: Eclipse on 64-bit Windows 7 [message #511249 is a reply to message #511126] |
Sun, 31 January 2010 20:35 |
Em Messages: 2 Registered: January 2010 |
Junior Member |
|
|
Try to see if your path variable is set... go to My Computer properties > Advanced system settings > under Advanced tab you have the Environment variables button, click it, and under System variables you should have the path variable. That variable is a list of paths that allow you to access exe's from anywhere just by typing their name and those paths are separated by semi-colon (;)... in there you should have something like ;C:\Program Files (x86)\Java\jre6\bin
If you don't have it, you either need to install JRE... and as a side note, you'll only need the 32-bit one, no need for 64-bit one at all... but if you do have it installed, just look up the path of java.exe and add it to that string... also don't end it with a ; or a \ and don't put the path in quotes.
[Updated on: Sun, 31 January 2010 20:35] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Eclipse on 64-bit Windows 7 [message #648893 is a reply to message #648874] |
Sat, 15 January 2011 00:24 |
|
Your message is devoid of all context and must refer to an earlier
thread from which it is disassociated.
I can tell you right now, however, that you're telling the Eclipse that
uses this .ini file to use a 32-bit JRE. That's a no-no if your Eclipse
is in fact a 64-bit one, which it appears to be.
On 14-Jan-11 12:27, JimED wrote:
> I'm having the same problem. Edited the system environment variables AND
> the eclipse.ini. Now I get the error on the attached image.
>
> Here is my eclipse.ini:
>
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.
> 1.R36x_v20100810
> -product
> org.eclipse.epp.package.reporting.product
> --launcher.defaultAction
> openFile
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vm
> C:\Program Files (x86)\Java\jdk1.6.0_23\jre\bin\javaw.exe
> --launcher.defaultAction
> openFile
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx512m
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09680 seconds