Closed frankleonrose closed 10 years ago
So, it worked if the JVMCapabilities JNI was set in /Library/Java/JavaVirtualMachines/jre1.8.0_20.jre/Contents/Info.plist, but not when it is set in the copied embedded JVM!
Actual problem was that dlopen(jvm) was passing RTLD_LOCAL which caused the JavaLaunching framework to not see libjava symbols and assume that there was a need to install a JVM! Oy.
Wrong -> The embedded JVM needs "JNI" added to Info.plist key JavaVM:JVMCapabilities