Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to install on windows 7 64 bit machine(Cannot install eclipse on my windows 7 64 bit machine)
Unable to install on windows 7 64 bit machine [message #902034] Wed, 15 August 2012 15:10 Go to next message
Frederick Fenk is currently offline Frederick FenkFriend
Messages: 1
Registered: August 2012
Junior Member
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 #902038 is a reply to message #902034] Wed, 15 August 2012 15:18 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 8/15/2012 9:10 AM, Frederick Fenk wrote:
> 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.

Though you can sometimes get away with not doing it, I advise you to
tell Eclipse exactly where you're getting your JRE (JDK if you expect to
do any Java development).

See http://wiki.eclipse.org/Eclipse.ini .
Re: Unable to install on windows 7 64 bit machine [message #1069331 is a reply to message #902038] Mon, 15 July 2013 17:27 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
I am currently having the same problem....downloaded the eclipse software and have Java all set up and updated an when I go to launch eclipse I get the message ..."failed to load the JNI shared library "C; etc etc any advice or ways to solve this problem I would deeply appreciate it
Re: Unable to install on windows 7 64 bit machine [message #1069333 is a reply to message #1069331] Mon, 15 July 2013 17:29 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Double-check whether you're using a 32-bit or 64-bit Eclipse download. The JRE has to match this.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Unable to install on windows 7 64 bit machine [message #1069392 is a reply to message #1069333] Mon, 15 July 2013 20:13 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
How would I go about checking that? please and thank you
Re: Unable to install on windows 7 64 bit machine [message #1069404 is a reply to message #1069392] Mon, 15 July 2013 20:30 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 #1069410 is a reply to message #1069404] Mon, 15 July 2013 20:51 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
Haha appreciate the humor; I did download the 64-bit but I will look into the latest JDK not just the JRE. I also do remember the argument option did not have the -vm It only had the -vmargs. Awesome help and hopefully I can get it running. Thank you very much and I shall return if I can not figure it out
Re: Unable to install on windows 7 64 bit machine [message #1069427 is a reply to message #1069410] Mon, 15 July 2013 21:49 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
Nope hit a wall again ....im going to send you the before code and after what I changed code. Maybe you can see what I am missing.
Re: Unable to install on windows 7 64 bit machine [message #1069429 is a reply to message #1069427] Mon, 15 July 2013 21:54 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile--launcher.appendVmargs-vmargs-Dosgi.requiredJavaVersion=1.6-Xms40m-Xmx512m
Re: Unable to install on windows 7 64 bit machine [message #1069430 is a reply to message #1069429] Mon, 15 July 2013 21:55 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
and this is the edited ....
-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416

-product

org.eclipse.epp.package.standard.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile
-vm
C:\Users\MRS-16\Desktop\Java\JDK\1.6\bin\javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m
Re: Unable to install on windows 7 64 bit machine [message #1069434 is a reply to message #1069427] Mon, 15 July 2013 21:49 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 7/15/2013 3:49 PM, Kevin Postill wrote:
> Nope hit a wall again ....im going to send you the before code and after
> what I changed code. Maybe you can see what I am missing.

If we're still talking about what I answered, then a good start would be
to paste eclipse.ini in here. We can intuit a lot from what we see there.
Re: Unable to install on windows 7 64 bit machine [message #1069437 is a reply to message #1069430] Mon, 15 July 2013 22:06 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
thank you very much; just copy and pasted it into eclipse.ini
Re: Unable to install on windows 7 64 bit machine [message #1069439 is a reply to message #1069434] Mon, 15 July 2013 22:00 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 7/15/2013 3:49 PM, Russell Bateman wrote:
> On 7/15/2013 3:49 PM, Kevin Postill wrote:
>> Nope hit a wall again ....im going to send you the before code and after
>> what I changed code. Maybe you can see what I am missing.
>
> If we're still talking about what I answered, then a good start would be
> to paste eclipse.ini in here. We can intuit a lot from what we see there.


Looks good except that I'm unable to discern the bittedness of your Java
based on the path you've installed it on. Assuming it's 64-bit to match
your Eclipse installation, what exactly is the error you're getting?
Re: Unable to install on windows 7 64 bit machine [message #1069442 is a reply to message #1069437] Mon, 15 July 2013 22:22 Go to previous messageGo to next message
Kevin Postill is currently offline Kevin PostillFriend
Messages: 8
Registered: July 2013
Junior Member
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
Re: Unable to install on windows 7 64 bit machine [message #1069452 is a reply to message #1069442] Mon, 15 July 2013 22:58 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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.
Previous Topic:EPIC Perl Debugging: An internal error occurred during: "child count update"
Next Topic:Eclipse, Annotation "@Asynchronous"
Goto Forum:
  


Current Time: Fri Mar 29 09:25:00 GMT 2024

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

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

Back to the top