Apache Directory Studio Error Messages

SShort story is you need the JDK, not just the JRE, and you must manually edit the app's config file as 

The JVM shared library "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.

I saw this after upgrading to the current release. Seems to need a newer version of java than the Java SE 6 that ships with Mac.  So we install Oracle's most recent java. No difference. So lets see which java is set to default now .

$ /usr/libexec/java_home
1.6.0_65-b14-466.1, x86_64: "Java SE 6"  ....
1.6.0_65-b14-466.1, i386: "Java SE 6"  ....

So the system doesn't know about the new java, which is strange because the command line is linked to the new installation

$ java -version
java version "1.8.0_45"

Let's just manually configure the app (bad idea, but some folks say that's what is needed)

$ which java


$ ls -la /usr/bin/java

/usr/bin/java -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

Open the app's Info.plist and down at the bottom but in this java. Same error...escape the space at Internet\ Plug-Ins..

Different error.

Sigh - Some folks suggest that the JDK is needed for eclipse, so download and install that. Now when we check we check the system's java, we do see a new version is available and set as the default.

$  /usr/libexec/java_home

So let's remove our edit....sigh, error again. the App isn't picking up the new version of java

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run ApacheDirectoryStudio.

Well, you can edit the plist again with 


though that seems fragile