1

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.

Community
  • 1
  • 1
Victor R. Oliveira
  • 2,434
  • 5
  • 36
  • 66

2 Answers2

1

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

Breavyn
  • 2,203
  • 14
  • 28
0

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.

wanana
  • 331
  • 1
  • 8
  • I can't acess PATH cos of the security protocol but Colin was right - the JDK was lacking in my case, that worked here. But ty for the support. – Victor R. Oliveira Jul 12 '13 at 09:12