Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » eclipse failed to load JNI shared library
eclipse failed to load JNI shared library [message #1092168] Thu, 22 August 2013 12:12 Go to next message
devon devon is currently offline devon devonFriend
Messages: 1
Registered: August 2013
Junior Member
Does anybody know why eclipse is failing to load for me. I checked my system and it is a 64 bit and I have both eclipse and java JDK as a 64 bit. It says,

Failed to load the JNI shared library "C:/Program Files/Java/jdk1.7.0_25/bin/../jre/bin/client/jvm.dll".

I will have my eclipse.ini file attached to this message. Please if you can tell me step by step how to fix it. I will still appreciate any help though. Please help! Thank you.
  • Attachment: eclipse.ini
    (Size: 0.45KB, Downloaded 421 times)
Re: eclipse failed to load JNI shared library [message #1092237 is a reply to message #1092168] Thu, 22 August 2013 13:57 Go to previous messageGo to next message
Roberto Sanchez Herrera is currently offline Roberto Sanchez HerreraFriend
Messages: 36
Registered: January 2011
Member
Hello,
Even if you have installed a java JDK 64 bits, you may have another 32 bits JDK/JRE installed, and that one might be the default.
I suggest adding the -vm argument to your eclipse.ini and see if that helps, something like
-vm
path\to\Java\JDK\64\jre\bin\javaw.exe

I usually add this line at the very beginning of the file. And I always add an new line between -vm and the path, as shown above.

Hope this helps.
Re: eclipse failed to load JNI shared library [message #1092451 is a reply to message #1092237] Thu, 22 August 2013 20:20 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 8/22/2013 9:57 AM, Roberto Sanchez Herrera wrote:
> Hello, Even if you have installed a java JDK 64 bits, you may have
> another 32 bits JDK/JRE installed, and that one might be the default. I
> suggest adding the -vm argument to your eclipse.ini and see if that
> helps, something like -vm path\to\Java\JDK\64\jre\bin\javaw.exe
>
> I usually add this line at the very beginning of the file. And I always
> add an new line between -vm and the path, as shown above.
> Hope this helps.

I checked my "Program Files\Java\jdk1.7.0_25" install and there is no
"client" folder under "jre\bin". There is only the "server" folder
containing a "jvm.dll". It appears this JDK doesn't include the
"client" JVM. I'm not sure what is coming up with the non-existent JVM
as the one to try to execute. I think the -vm approach Roberto mentions
is your best workaround.

Cheers,
Larry
Previous Topic:customizing getDoubleClickStrategy for XML editor
Next Topic:Form Creation
Goto Forum:
  


Current Time: Fri Mar 29 08:45:17 GMT 2024

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

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

Back to the top