Jump to content

Hey guys this is a repost because no one replied to my first one but I'm trying to set up eclipse and JDK for my computer but when I try setting my path to the JDK bin folder I get the following error.


 


Failed to load the JNI shared library"C:\Program Files (x86)\Java\jdk1.7.0_45\bin\..\jre\bib\cliant\jvm.dll".


 


This is what I have my current PATH set to: C:\Program Files (x86)\Java\jdk1.7.0_45\bin


 


And these are the versions of Eclipse and Java JDK


 


Eclipse Standard 4.3.1


 


jdk-7u45-windows-i586


The year is 20XX. Everyone plays Fox at TAS levels of perfection. Because of this, the winner of a match depends solely on port priority. The RPS metagame has evolved to ridiculous levels due to it being the only remaining factor to decide matches.

Only Abate, Axe, and Wobbles can save us.

Link to post
Share on other sites

Well it is a bit interesting that you have bib and cliant in the name...I would imagine that should be bin and client.

 

Anyways worst case you could probably just change the eclipse.ini to include the direct path of the virtual machine. (http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example)

 

e.g. (Find your javaw.exe)

-vm

C:\Program Files (x86)\Java\jdk1.7.0_45\bin\javaw.exe

 

Same with finding your jvm.dll file, you can set it specifically in Eclipse with -vm instead of the javaw.exe (Just use the eclipse.org link I put above and follow their examples...changing the directories of course)

0b10111010 10101101 11110000 00001101

Link to post
Share on other sites

Well it is a bit interesting that you have bib and cliant in the name...I would imagine that should be bin and client.

 

Anyways worst case you could probably just change the eclipse.ini to include the direct path of the virtual machine. (http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example)

 

e.g. (Find your javaw.exe)

-vm

C:\Program Files (x86)\Java\jdk1.7.0_45\bin\javaw.exe

 

Same with finding your jvm.dll file, you can set it specifically in Eclipse with -vm instead of the javaw.exe (Just use the eclipse.org link I put above and follow their examples...changing the directories of course)

Glad for the help! but um could you simplify that just a bit? I'm really new to all this. :)

The year is 20XX. Everyone plays Fox at TAS levels of perfection. Because of this, the winner of a match depends solely on port priority. The RPS metagame has evolved to ridiculous levels due to it being the only remaining factor to decide matches.

Only Abate, Axe, and Wobbles can save us.

Link to post
Share on other sites

Oh I guess it should be noted first....when you installed the java sdk and eclipse you made sure both were 64 bit or both were 32 bit....if you installed one 32 bit and the other program 64 bit that might be why you are getting the error...anyways precise instructions below if you do have both of the same.

 

hmm, well just try this first:

1) Find jvm.dll (it should be in the java sdk folder...just use a search for the file)

2) After finding jvm.dll copy the exact location (e.g. mine is C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll)

3) Find eclipse.ini (it should be where you installed eclipse) (and create a backup of it just in case)

4) Open eclipse.ini

5) Insert these two lines

-vm

C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll

Although the location will change according to your file location.

Insert those lines before the -vmargs option

 

Not much more to it than that...the instructions were basically following the wiki (I haven't tried it...I don't have eclipse on this machine)

 

*Edit

If you really can't get Java/Eclipse working then might I suggest looking into NetBeans IDE...personally I enjoy NetBeans over Eclipse (although it is all a matter of opinion).,..perhaps Netbeans will be an easier setup.

In the rare event that you cannot get Eclipse or Netbeans working, then you likely messed up your java install and I would recommend uninstalling it, downloading it again and following the instructions again

0b10111010 10101101 11110000 00001101

Link to post
Share on other sites

Oh I guess it should be noted first....when you installed the java sdk and eclipse you made sure both were 64 bit or both were 32 bit....if you installed one 32 bit and the other program 64 bit that might be why you are getting the error...anyways precise instructions below if you do have both of the same.

 

hmm, well just try this first:

1) Find jvm.dll (it should be in the java sdk folder...just use a search for the file)

2) After finding jvm.dll copy the exact location (e.g. mine is C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll)

3) Find eclipse.ini (it should be where you installed eclipse) (and create a backup of it just in case)

4) Open eclipse.ini

5) Insert these two lines

-vm

C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll

Although the location will change according to your file location.

Insert those lines before the -vmargs option

 

Not much more to it than that...the instructions were basically following the wiki (I haven't tried it...I don't have eclipse on this machine)

 

*Edit

If you really can't get Java/Eclipse working then might I suggest looking into NetBeans IDE...personally I enjoy NetBeans over Eclipse (although it is all a matter of opinion).,..perhaps Netbeans will be an easier setup.

In the rare event that you cannot get Eclipse or Netbeans working, then you likely messed up your java install and I would recommend uninstalling it, downloading it again and following the instructions again

Just tried it and it didn't work. :/ ah well I signed up to talk to a java programmer on the new Google help-outs so maybe he can help thanks anyway!

The year is 20XX. Everyone plays Fox at TAS levels of perfection. Because of this, the winner of a match depends solely on port priority. The RPS metagame has evolved to ridiculous levels due to it being the only remaining factor to decide matches.

Only Abate, Axe, and Wobbles can save us.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×