1
votes

I'm having problems to run eclipse in my job - at my home desktop I got everything as a 64 bit version. What I did was copy the folders to my job desktop and it doesn't. I checked the architecture here and it's 64 bits too. The failure come from both sides:

If I set my virtual machine as:

C:\jre7\bin\javaw.exe

I receive the error from code 13.

If I set the virtual machine as

C:\jre7\bin\client\jvm.dll

I receive the error from "Can't load shared library"

my source researches were :

  1. Failed to load the JNI shared Library (JDK)
  2. Eclipse reported "Failed to load JNI shared library"
  3. Cannot run Eclipse; JVM terminated. Exit code=13
  4. Can't start Eclipse - Java was started but returned exit code=13
  5. Eclipse crashes at startup; Exit code=13

Resuming:

Home desktop - Windows 64, JRE 64, Eclipse Juno 64

Job desktop - Windows 64, JRE 64, Eclipse Juno 64

Anyone got any idea of what I could do? Cos with my research everything I tryed was in vain.

2

2 Answers

1
votes

Try installing the Java Development Kit JDK. You probably only have the JRE installed. This has happened to me before and thats how I fixed it.

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

0
votes

I have encountered this issue. My reason is I have some other softwares(like oracle) includes some version of JVM, but don't have JNI. And the installation of that kind of software add something to my Path variable. Then eclipse search that path and failed.

Please examine your Path enviroment variable and see if exists any wrong path in front of the correct JVM path, or just try to move your JVM bin path in front of all the others.