Unable to install on windows 7 64 bit machine [message #902034] |
Wed, 15 August 2012 11:10  |
Eclipse User |
|
|
|
I have downloaded Eclipse onto my desktop and extracted it from the compressed file using 7-zip. When I try to install Eclipse I keep on getting a window saying that it cannot locate the JDK or JVM on the computer. I have both of these installed on the computer. why can I not install Eclipse? Is there a way that I can install without downloading? I was able to install Eclipse on my 32 bit machines without any problem.
|
|
|
|
|
|
|
Re: Unable to install on windows 7 64 bit machine [message #1069404 is a reply to message #1069392] |
Mon, 15 July 2013 16:30   |
Eclipse User |
|
|
|
On 7/15/2013 2:13 PM, Kevin Postill wrote:
> How would I go about checking that? please and thank you
Assuming you remember which Eclipse package you downloaded, which you
probably chose as 64-bit basing it as you might have done on knowing
you're running 64-bit Windows, you should do one of two possible things.
1) Examine the argument to option -vm in eclipse.ini or, if you did not
add this option, determine what JRE your Windows is using by default
when an application launches. (This might not be 64-bit; it depends on
what you've installed.)
2) Better yet, assuming you have a 64-bit Java installed and know where
it is (the path will NOT be C:\Program Files (x86), but C:\Program
Files), tell Eclipse to use it via the -vm option in eclipse.ini.
Please see http://wiki.eclipse.org/Eclipse.ini.
If you plan to develop in Java, you'll want to download the latest JDK
(not merely JRE) from Sun and tell Eclipse where you put it via -vm.
Please note that the argument to option -vm goes on the next line below
it. Please also note that this option goes before option -vmargs.
This should get you running.
It's possible to run 32-bit Eclipse on a 32-bit JRE on a 64-bit machine
(but why would you want to do that?).
Hope this helps.
|
|
|
|
|
|
|
|
|
|
|
Re: Unable to install on windows 7 64 bit machine [message #1069452 is a reply to message #1069442] |
Mon, 15 July 2013 18:58  |
Eclipse User |
|
|
|
On 7/15/2013 4:22 PM, Kevin Postill wrote:
> that was the coding downloaded when I installed eclipse. java is saved
> directly to my desktop so I set up the path to be (openFile
> -vm
> C:\Users\MRS-16\Desktop\Java\JDK\1.6\bin\javaw.exe)
>
> the error I am getting is when I go to launch eclipse the pop up reads
> "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\MRS-16\Desktop\Java\JDK\1.6\bin\javaw.exe
Does the path to javaw.exe actually exist? I wonder because Eclipse says
it doesn't. What happens if you open a command window and type?
C:\Users\MRS-16> dir C:\Users\MRS-16\Desktop\Java\JDK\1.6\bin\javaw.exe
Now, it doesn't in fact matter where it's saved to as long as it
actually exists and was successfully installed although for
organizational cleanliness you should relocate it to something like
C:\Users\MRS-16\Java.
I forget how JDK 6 comes for Windows, probably a self-installing archive
or something. You didn't just download the archive and leave it sitting
on your desktop without installing it, right? (And I'm puzzled how you
got it since Oracle stopped supporting and distributing it sometime ago.
You have to try a lot harder to get Java 6 whereas Java 7 is a no-brainer.)
Nitin will probably be back with you before I'm here again and he'll
have wiser things to say.
Best of luck.
|
|
|
Powered by
FUDForum. Page generated in 0.07371 seconds