Running Helios for first time [message #542743] |
Fri, 25 June 2010 18:56 |
|
It has been a few years since I have used Eclipse for Java development because of .Net diversion. . I have installed Helios for Java development. When I invoke Eclipse I am getting an error on the splash screen: "Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.6.2_20\bin\...\jre\bin\client\jvm.dll".
I have not been away from Java that long and I have never recieved this error from Java before. I did create an environment var JAVA_Home and added the Java\bin to the system path.
How do I resolve this error.
Thanks in Advance
|
|
|
|
Re: Running Helios for first time [message #542814 is a reply to message #542795] |
Sat, 26 June 2010 10:42 |
|
No I did not add the "...". That is how it was displayed in the error message. I do have the correct path and that is why I am scratching my head. When I checked the Java -version this is what I expected:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\IchBin>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
I am running on Windows 7 Enterprise 64 bit. I downloaded the 64 bit Eclipse version. I modified the Eclipse.ini file by adding the -vm and now looks like this:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
After updating the Eclipse.ini now I do not get a splash screen. Now I see Eclipse loading with the subtask javaw but after 3 seconds the Eclipse task is terminated. (watching task scheduler).
I do not think there is a 64 bit version of Java but that is the only obvious difference. That is: Running a 64 bit version of Eclipse against a 32 bit version of Javaw. Maybe I should download the 32 bit version of Eclipse and test it.
[Updated on: Sat, 26 June 2010 10:43] Report message to a moderator
|
|
|
Re: Running Helios for first time [message #542820 is a reply to message #542814] |
Sat, 26 June 2010 12:28 |
|
I just downloaded an installed the 32 bit version of Helios for "Eclipse IDE for Java Developers". It loads and runs with no problems.
So the big question is since I am running a 64 bit OS how do I get the 64 bit Eclipse running on a 64 bit Windows 7 OS? What are the requirements of 64 bit Eclipse?
Thanks in Advance...
|
|
|
Re: Running Helios for first time [message #542841 is a reply to message #542820] |
Sat, 26 June 2010 16:57 |
|
On 6/26/2010 6:28 AM, IchBin wrote:
> I just downloaded an installed the 32 bit version of Helios for
> "Eclipse IDE for Java Developers". It loads and runs with no problems.
>
> So the big question is since I am running a 64 bit OS how do I get the
> 64 bit Eclipse running on a 64 bit Windows 7 OS? What are the
> requirements of 64 bit Eclipse? 8o
> Thanks in Advance...
64-bit Eclipse: use 64-bit JDK.
32-bit Eclipse: use 32-bit JDK.
It's that simple.
|
|
|
|
Re: Running Helios for first time [message #542848 is a reply to message #542842] |
Sat, 26 June 2010 17:30 |
|
On 6/26/2010 11:18 AM, IchBin wrote:
> When I first looked to download a JDK 64 bit version I could not find
> it. I see 64 bit versions for Solaris and Linux but not for Windows.
> Guess I should look harder.
There is one, but I've so far resisted using it and don't know where to
find it either, though I saw it once. Another year and I think 64-bit
Eclipse and JDK use will be near-universal. In the meantime, I'm up and
running and have no complaints about anything Eclipse. If it ain't broke...
|
|
|
Re: Running Helios for first time [message #542940 is a reply to message #542848] |
Sun, 27 June 2010 17:52 |
|
I found the 64 bit versions here: http://download.java.net/jdk6/
Found a problem instantly. JavaFX is 32 bit and does not run on 64 bit. Looks like in Java development "one hand does not know what the other is doing"... lol
Someone suggested to just install a 32 bit JRE and point to it for JavaFX. Weird that JavaFX is being pushed so hard but not supported on 64 bit Windows OS.
|
|
|
|
|
|
|
Re: Running Helios for first time [message #653320 is a reply to message #644416] |
Wed, 09 February 2011 11:13 |
Ab Messages: 1 Registered: February 2011 |
Junior Member |
|
|
worked me too. I've downloaded JDK 7 64bit and it just worked . I didn't have to make any changes to Windows Environment variables! Happy that it worked.
Strange that when I downloaded just the JRE 64bit for Windows 7 and then added JRE to path, Ecplise WPT was still complaining .
[Updated on: Wed, 09 February 2011 11:14] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Running Helios for first time [message #740442 is a reply to message #740415] |
Tue, 18 October 2011 14:08 |
|
On 18-Oct-11 07:41, Priyam Dash wrote:
> Well, i have just found out the best and easiest solution.
> When u installed "eclipse-jee-helios-SR2-win32-x86_64" it defaults
> searches for JDK in "C:\Program Files/Java"
>
> And unfortunately if u have installed JDK under "C:\Program Files (x86)"
> folder it will not work.
>
> You can do either of any step to make it work.
>
> 1. Delete Java folder under Program Files (x86) and reinstall it under
> "Program Files".
> or 2. unistall JDK , then reinstall under "c:/Program Files"
>
> Hope it help u guys. :)
Uh... no, this won't work or, if it does, it's only fortuitous and you
haven't given the full story.
You must install a proper 64-bit JDK/JRE to run 64-bit Eclipse. A proper
Sun 64-bit JDK will install itself automatically to C:\Program Files.
What you deleted under C:\Program Files (x86) was your 32-bit JRE. Now
software that wants to use it, such as a 32-bit Eclipse, will no longer
find it.
|
|
|
Re: Running Helios for first time [message #740487 is a reply to message #740442] |
Tue, 18 October 2011 15:06 |
Eric Rizzo Messages: 3070 Registered: July 2009 |
Senior Member |
|
|
On 10/18/11 10:08 AM, Russell Bateman wrote:
> On 18-Oct-11 07:41, Priyam Dash wrote:
>> Well, i have just found out the best and easiest solution.
>> When u installed "eclipse-jee-helios-SR2-win32-x86_64" it defaults
>> searches for JDK in "C:\Program Files/Java"
>>
>> And unfortunately if u have installed JDK under "C:\Program Files (x86)"
>> folder it will not work.
>>
>> You can do either of any step to make it work.
>>
>> 1. Delete Java folder under Program Files (x86) and reinstall it under
>> "Program Files".
>> or 2. unistall JDK , then reinstall under "c:/Program Files"
>>
>> Hope it help u guys. :)
>
> Uh... no, this won't work or, if it does, it's only fortuitous and you
> haven't given the full story.
>
> You must install a proper 64-bit JDK/JRE to run 64-bit Eclipse. A proper
> Sun 64-bit JDK will install itself automatically to C:\Program Files.
> What you deleted under C:\Program Files (x86) was your 32-bit JRE. Now
> software that wants to use it, such as a 32-bit Eclipse, will no longer
> find it.
In addition, you REALLY should specify the path to your desired JDK via
eclipse.ini as described here: http://wiki.eclipse.org/Eclipse.ini
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.07063 seconds