setting LD_LIBRARY_PATH through eclipse

S

Spitfire

I'm trying a small application with Mozilla HTML Parser. However, for
the parser to work you need to link additional libraries, which are
picked up from LD_LIBRARY_PATH. I'm able to set that variable and
execute the application from command line; but I would like to know how
to do same from within Eclipse, so that I can run the app from Eclipse
itself!
 
G

Gordon Beaton

I'm trying a small application with Mozilla HTML Parser. However,
for the parser to work you need to link additional libraries, which
are picked up from LD_LIBRARY_PATH. I'm able to set that variable
and execute the application from command line; but I would like to
know how to do same from within Eclipse, so that I can run the app
from Eclipse itself!

I'm not an Eclipse user, so I'll offer an alternate solution instead:
set LD_LIBRARY_PATH before starting Eclipse and it will be inherited
by any subprocesses automatically.

Or, use Eclipse to set system property java.library.path.

/gordon
 
T

Thomas Fritsch

Gordon said:
I'm not an Eclipse user, so I'll offer an alternate solution instead:
set LD_LIBRARY_PATH before starting Eclipse and it will be inherited
by any subprocesses automatically.

Or, use Eclipse to set system property java.library.path.

Or, use Eclipse to set environment variable LD_LIBRARY_PATH.
You do it from the "Run..." or "Debug..." dialog, in the "Environment" tab.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top