Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » plugin with native libraries/LD_LIBRARY_PATH
plugin with native libraries/LD_LIBRARY_PATH [message #735465] Tue, 11 October 2011 22:05
arne anka is currently offline arne ankaFriend
Messages: 133
Registered: July 2009
Senior Member
hi,
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.

Previous Topic:Open Debug Perspective automatically
Next Topic:how to add listener to *every* editor?
Goto Forum:
  


Current Time: Wed Apr 24 19:23:51 GMT 2024

Powered by FUDForum. Page generated in 0.02497 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top