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.