Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > setting LD_LIBRARY_PATH through eclipse

Reply
Thread Tools

setting LD_LIBRARY_PATH through eclipse

 
 
Spitfire
Guest
Posts: n/a
 
      02-15-2007
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!
--
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
“I'm smart enough to know that I'm dumb.”
- Richard P Feynman
 
Reply With Quote
 
 
 
 
Gordon Beaton
Guest
Posts: n/a
 
      02-15-2007
On Wed, 14 Feb 2007 20:55:50 -0600, Spitfire wrote:
> 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

--
[ 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
 
Reply With Quote
 
 
 
 
Thomas Fritsch
Guest
Posts: n/a
 
      02-15-2007
Gordon Beaton wrote:
> Spitfire wrote:
>
>>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.


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

--
Thomas
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting LD_LIBRARY_PATH env variable for child process Lax Perl Misc 2 04-14-2007 07:27 AM
loading jvm (libjvm.so) and setting LD_LIBRARY_PATH Naresh Agarwal Java 0 06-30-2005 11:20 AM
Problem with setting LD_LIBRARY_PATH Moritz Karbach Perl Misc 3 04-21-2005 06:18 PM
$LD_LIBRARY_PATH, cx_Freeze and wxPython Simon John Python 2 09-19-2004 07:31 AM
Problem using LD_LIBRARY_PATH in perl script Christian Eriksson Perl 1 11-25-2003 05:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57