|plugin with native libraries/LD_LIBRARY_PATH [message #735465]
||Tue, 11 October 2011 22:05
| arne anka
Registered: July 2009
i am creating an eclipse plugin that connects to a server.
to connect to that server i need a jar and several native libraries.
the jar loads exactly one of those libraries, but that lib depends on a bunch of additional libraries (all included).
in a standalone application i need to set both java.library.path and LD_LIBRARY_PATH to make that work.
System.load()/System.loadLibrary() fails b/c it cannot find the library from the java.library.path -- only setting LD_LIBRARY_PATH helps.
what needs to be done in an eclipse plugin? is there a way to set those paths from preferences?
setting java.library.path in eclipse.ini is not an option, much less LD_LIBRARY_PATH.
Powered by FUDForum
. Page generated in 0.02194 seconds