Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Trouble Installing(Failed to load the Shared JNI library)
Trouble Installing [message #855190] Tue, 24 April 2012 15:43 Go to next message
Augie D is currently offline Augie DFriend
Messages: 3
Registered: April 2012
Junior Member
I have had trouble installing my JavaScript and C++ IDE's on my computer. I have put my jre in the eclipse folder in each one, but keep getting this error (I've shortened the directory name for reasons of my own):

Failed to load the JNI shared library "C:/Users/Augie/Downloads/eclipse-javascript/eclipse/jre/bin/client/jvm.dll"

or
Failed to load the JNI shared library "C:/Users/Augie/Downloads/eclipse-cpp/eclipse/jre/bin/client/jvm.dll"


If you know how to fix this, please respond.
Regards, Augie
(P.S: my java IDE installed correctly but these two haven't)

[Updated on: Tue, 24 April 2012 15:44]

Report message to a moderator

Re: Trouble Installing [message #855250 is a reply to message #855190] Tue, 24 April 2012 16:27 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 4/24/2012 9:43 AM, Augie D wrote:
> I have had trouble installing my JavaScript and C++ IDE's on my
> computer. I have put my jre in the eclipse folder in each one, but keep
> getting this error (I've shortened the directory name for reasons of my
> own):
>
> Failed to load the JNI shared library
> "C:/Users/Augie/Downloads/eclipse-javascript/eclipse/jre/bin/client/jvm.dll"
>
>
> or
> Failed to load the JNI shared library
> "C:/Users/Augie/Downloads/eclipse-cpp/eclipse/jre/bin/client/jvm.dll"
>
>
> If you know how to fix this, please respond.
> Regards, Augie
> (P.S: my java IDE installed correctly but these two haven't)



http://wiki.eclipse.org/Eclipse.ini
Re: Trouble Installing [message #855382 is a reply to message #855250] Tue, 24 April 2012 19:27 Go to previous messageGo to next message
Augie D is currently offline Augie DFriend
Messages: 3
Registered: April 2012
Junior Member
I'm still getting the errors even after setting the JVM. Can anyone help?
Re: Trouble Installing [message #855413 is a reply to message #855382] Tue, 24 April 2012 20:06 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Have you made sure you have executable permissions for that DLL file? Are you trying to use a 32-bit download with a 64-bit JRE, or vice-versa?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Trouble Installing [message #856648 is a reply to message #855413] Wed, 25 April 2012 21:39 Go to previous message
Augie D is currently offline Augie DFriend
Messages: 3
Registered: April 2012
Junior Member
Nitin Dahyabhai wrote on Tue, 24 April 2012 16:06
Have you made sure you have executable permissions for that DLL file? Are you trying to use a 32-bit download with a 64-bit JRE, or vice-versa?

I think the 64-bit thing may be the problem. I have a 64-bit PC, but my Java is 32-bit.
I'll try the 32-bit now

I do have executable permissions, though

Edit: Yep, the 64-bit thing was the problem. It's working now.
Thanks Nitin Dahyabhai

[Updated on: Wed, 25 April 2012 21:44]

Report message to a moderator

Previous Topic:Only parts of Eclipse Helios are running - Eclipse in Altera installation
Next Topic:Deactivation of export functions in birt viewer
Goto Forum:
  


Current Time: Sat Apr 27 02:14:50 GMT 2024

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

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

Back to the top