Failed to load the JNI shared library “C:\glassfish3\jdk\jre\bin\client\jvm.dll”

My laptop at work crashed this week so I had to set up a replacement until it’s fixed. After reinstalling my development tools and firing up Eclipse I run into this error:

Failed to load the JNI shared library "C:\glassfish3\jdk\jre\bin\client\jvm.dll"

It turns out this was caused by a mismatch between the version of Java installed and the version of Eclipse. In particular, our project requires us to use the 32-bit Java environment and I, out of habit, grabbed the 64-bit Eclipse package. Downloaded the 32-bit Eclipse and all is good again.

Further reading:

Tags: , , , ,

Friday, February 24th, 2012 Java, Programming, Tips and Tricks

Leave a Reply

 

Comments are moderated due to spammers. Your comments will not appear until I review and approve them. If you left a question I will answer as best I can so be sure to check back.