![]() ![]() ![]() ![]() I'm trying to load a native library in Java on Mac OS X 10.10.5 like this: System.loadLibrary("SgCore_wrap") Īnd it throws an exception: Exception in thread "main" : /Users/nyholku/sgCoreTest/libSgCore_wrap.dylib: dlopen(/Users/nyholku/sgCoreTest/libSgCore_wrap.dylib, 1): Library not loaded: my question is where does points to in case of a Java program and does this depend on weather I run from command line or within Eclipse?Īnd further, supposing the correct location is 'somewhere in the system' like say '/Library', what is the best strategy handle this in a distributable Mac OS bundle (.app) with embedded JVM? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |