Running Helios for first time [message #542743] |
Fri, 25 June 2010 14:56  |
Eclipse User |
|
|
|
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 #740487 is a reply to message #740442] |
Tue, 18 October 2011 11:06  |
Eclipse User |
|
|
|
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.17298 seconds