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!

Signature
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
“I'm smart enough to know that I'm dumb.”
- Richard P Feynman
> 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

Signature
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
Thomas Fritsch - 15 Feb 2007 12:22 GMT
>>I'm trying a small application with Mozilla HTML Parser. However,
>>for the parser to work you need to link additional libraries, which
[quoted text clipped - 8 lines]
>
> 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.

Signature
Thomas