Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Running Helios for first time(.... splash screen error)
Running Helios for first time [message #542743] Fri, 25 June 2010 18:56 Go to next message
IchBin is currently offline IchBin
Messages: 30
Registered: July 2009
Location: Drexel Hill Pa USA
Member

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 #542795 is a reply to message #542743] Sat, 26 June 2010 05:12 Go to previous messageGo to next message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
IchBin wrote:
> 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

That looks like an incorrect path, unless you put those "..." in there when you
wrote the post.

Check your path variable, and make sure that if you type "java -version" at a
command prompt you get the version you expect. Or better yet, edit your
eclipse.ini file to specify a particular JVM location. See
http://wiki.eclipse.org/Eclipse.ini for examples.
Re: Running Helios for first time [message #542814 is a reply to message #542795] Sat, 26 June 2010 10:42 Go to previous messageGo to next message
IchBin is currently offline IchBin
Messages: 30
Registered: July 2009
Location: Drexel Hill Pa USA
Member

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 Go to previous messageGo to next message
IchBin is currently offline IchBin
Messages: 30
Registered: July 2009
Location: Drexel Hill Pa USA
Member

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? Shocked

Thanks in Advance...
Re: Running Helios for first time [message #542841 is a reply to message #542820] Sat, 26 June 2010 16:57 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3227
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 #542842 is a reply to message #542841] Sat, 26 June 2010 17:18 Go to previous messageGo to next message
IchBin is currently offline IchBin
Messages: 30
Registered: July 2009
Location: Drexel Hill Pa USA
Member

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.

Found it...

[Updated on: Sat, 26 June 2010 17:22]

Report message to a moderator

Re: Running Helios for first time [message #542848 is a reply to message #542842] Sat, 26 June 2010 17:30 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3227
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 Go to previous messageGo to next message
IchBin is currently offline IchBin
Messages: 30
Registered: July 2009
Location: Drexel Hill Pa USA
Member

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. Rolling Eyes
Re: Running Helios for first time [message #543719 is a reply to message #542940] Wed, 30 June 2010 12:09 Go to previous messageGo to next message
Ben Garrett is currently offline Ben Garrett
Messages: 1
Registered: June 2010
Junior Member
You seem to be downloading beta snapshot releases there.

If you want to download a stable, Java 6.0.20 for Windows 64bit simply load up a 64bit browser and point it to the Sun Java download page. You will be offered the 64bit version instead of the 32bit version Smile You can install both 64 & 32 bit editions of Java on the same 64 bit O/S.

http://java.com/en/download/index.jsp

I know both Windows 7 & Vista 64 have Internet Explorer (64-bit) that you can use to fetch the download.
Re: Running Helios for first time [message #641257 is a reply to message #542841] Wed, 24 November 2010 16:26 Go to previous messageGo to next message
Dave.Dews  is currently offline Dave.Dews
Messages: 1
Registered: November 2010
Junior Member
>64-bit Eclipse: use 64-bit JDK.
>32-bit Eclipse: use 32-bit JDK.
>
>It's that simple.

Err ... obviously not that simple. I have been running Windows and Eclipse for years. I get the same "jvm.dll cannot be found" or "no jdk at the specified location" where there is one or "no jre where there is one".

This is my eclipse.ini file:
-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.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
-vm
"C:\Program Files (x86)\Java\jdk1.6.0_22\bin\javaw.exe"
-Xms40m
-Xmx512m


I would also expect eclipse to look at more than one location!

I have downloaded the 64 bit version of Helios and the 64-bit version of the JDK with JavaFX as a "convenient" bundle on my Windows7 platform.

I am not impressed with eclipse error messages if JavaFX is the problem Razz

Re: Running Helios for first time [message #641297 is a reply to message #641257] Wed, 24 November 2010 18:57 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2313
Registered: July 2009
Senior Member
On 11/24/10 11:26 AM, Dave.Dews wrote:
>> 64-bit Eclipse: use 64-bit JDK.
>> 32-bit Eclipse: use 32-bit JDK.
>>
>> It's that simple.
>
> Err ... obviously not that simple. I have been running Windows and
> Eclipse for years. I get the same "jvm.dll cannot be found" or "no jdk
> at the specified location" where there is one or "no jre where there is
> one".
> This is my eclipse.ini file:
> -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.jee.product
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> org.eclipse.platform
> -vm
> "C:\Program Files (x86)\Java\jdk1.6.0_22\bin\javaw.exe"
> -Xms40m
> -Xmx512m
>
> I would also expect eclipse to look at more than one location!
> I have downloaded the 64 bit version of Helios and the 64-bit version of
> the JDK with JavaFX as a "convenient" bundle on my Windows7 platform.

You might have downloaded the 64-bit JDK, but your eclipse.ini above is
pointed at the 32-bit version (Win64 puts all 32-bit executables in the
Program Files (x86) folder by default, whereas 64-bit executables go
into Program Files).

By the way, if you don't specify -vm in your eclipse.ini then Eclipse
*does* look in a bunch of places for a JVM. That includes a jre/
directory under the location of eclipse.exe, the system binary path, and
probably a couple of other "standard" locations. But the opaqueness of
that search is exactly why many of us recommend specifying the exact JVM
you want in eclipse.ini instead of letting it just find some seemingly
random JVM on your system.

Eric
Re: Running Helios for first time [message #644416 is a reply to message #641297] Sat, 11 December 2010 01:45 Go to previous messageGo to next message
Jim McCafferty is currently offline Jim McCafferty
Messages: 1
Registered: December 2010
Junior Member
Hi,

I just hit the same issue. Downloading the 64 bit JDK fixed the issue. I noticed though when accessing the JDK downloads I was only given the 32-bit option, because my browser (IE9 beta I think, was 32-bit).

On going to the 64 bit screen, I was warned about the browser.

Hope this info helps.

Jim
Re: Running Helios for first time [message #653320 is a reply to message #644416] Wed, 09 February 2011 11:13 Go to previous messageGo to next message
Ab  is currently offline 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

icon14.gif  Re: Running Helios for first time [message #655426 is a reply to message #653320] Sun, 20 February 2011 19:39 Go to previous messageGo to next message
Vikas Jain is currently offline Vikas Jain
Messages: 1
Registered: July 2009
Junior Member
i was facing the same problem, installing 64 bit JDK definitely helped!
Re: Running Helios for first time [message #660849 is a reply to message #655426] Tue, 22 March 2011 01:50 Go to previous messageGo to next message
Skip Knox is currently offline Skip Knox
Messages: 1
Registered: March 2011
Junior Member
I have another angle on the solution. Just figured it out today.

I had pretty much the same issue: I had a current version of Java installed but it was in the 32-bit Program Files folder. I would go to java.com and the downloader would tell me I was current, even though I had chosen the 64-bit option. So I figured I was current even though I could see it was the wrong folder.

Finally something clicked. I went to java.com
*with my 64-bit version of Internet Explorer*
instead of with Firefox, my browser of choice.

Bingo, the 64-bit route installed and there was Java in Program Files and Eclipse and Pulse both ran happily.

Yeesh.

Re: Running Helios for first time [message #661211 is a reply to message #660849] Wed, 23 March 2011 15:21 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2313
Registered: July 2009
Senior Member
On 3/21/11 9:50 PM, Skip Knox wrote:
> I have another angle on the solution. Just figured it out today.
>
> I had pretty much the same issue: I had a current version of Java
> installed but it was in the 32-bit Program Files folder. I would go to
> java.com and the downloader would tell me I was current, even though I
> had chosen the 64-bit option. So I figured I was current even though I
> could see it was the wrong folder.
>
> Finally something clicked. I went to java.com *with my 64-bit version of
> Internet Explorer*
> instead of with Firefox, my browser of choice.
>
> Bingo, the 64-bit route installed and there was Java in Program Files
> and Eclipse and Pulse both ran happily.

Note that you should always specify to Eclipse which JVM to run in,
rather than relying on whatever is on the system path. See
http://wiki.eclipse.org/Eclipse.ini

If you're going to do Java development, it's a good idea to install (and
use for Eclipse) the JDK as opposed to the JRE that you get by default
from www.java.com.

Eric
Re: Running Helios for first time [message #661487 is a reply to message #542743] Thu, 24 March 2011 21:55 Go to previous messageGo to next message
Dave  is currently offline Dave
Messages: 1
Registered: March 2011
Junior Member
I also was away from Java during a .NET diversion. Glad to be back! I installed Eclipse Helios to begin work on Android apps.
I received the exact same error. Nothing seemed to work. eventually I uninstalled the jdk and jre that I was using previously. went to this link and reinstalled the most up to date version. It worked!!

http://www.oracle.com/technetwork/java/javase/downloads/inde x.html



Re: Running Helios for first time [message #673895 is a reply to message #661487] Wed, 25 May 2011 05:49 Go to previous messageGo to next message
Jenny is currently offline Jenny
Messages: 1
Registered: May 2011
Location: Hong Kong
Junior Member
Thanks for the tip and for providing the link ! It worked perfectly for me.
Re: Running Helios for first time [message #740415 is a reply to message #673895] Tue, 18 October 2011 13:41 Go to previous messageGo to next message
Priyam Dash is currently offline Priyam Dash
Messages: 1
Registered: October 2011
Junior Member
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. Smile
Re: Running Helios for first time [message #740442 is a reply to message #740415] Tue, 18 October 2011 14:08 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3227
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2313
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
Previous Topic:App for PC and Android
Next Topic:Jad
Goto Forum:
  


Current Time: Sun Oct 26 08:04:07 GMT 2014

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

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