Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

setting LD_LIBRARY_PATH through eclipse

Thread view: 
Spitfire - 15 Feb 2007 02:55 GMT
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

Gordon Beaton - 15 Feb 2007 07:16 GMT
> 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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.