Hi, Do any other platforms support multiple dynamically load library extensions? I was thinking that the JNI_LIB_SUFFIX could be defined as a space (or comma) delimited list of extensions and then change Java_java_lang_System_mapLibraryName in jdk/src/share/native/java/lang/System.c to be able to handle the parsing of the JNI_LIB_SUFFIX string. The order in the list would specify the search order. Thoughts? Michael
Sounds like OpenJDK is not recognizing .jnilib files as valid native libraries. Another patch to SoyLatte also allowed it to recognize both .dylib and .jnilib. We also made changes to Java in Mac OS X 10.5 Leopard to recognize .dylib as well as .jnilib.
I know it's sounds super-hacky, but I bet if you renamed all your .jnilib's to .dylib's, it will probably work.
Best of luck, Mike Swingler Java Runtime Engineer Apple Inc.