[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Subclipse 1.4 not working on Ubuntu 8.04.1 amd64

From: Markus Schönhaber <subclipse-users_at_list-post.ddt-consult.de>
Date: Fri, 15 Aug 2008 12:21:28 +0200

Jens Seidel wrote:

> I'm not sure about LD_LIBRARY_PATH. I know at least for sure that
> Eclipse ignores it.

Eclipse, like any other Linux process, probably doesn't care about
LD_LIBRARY_PATH. But that's beside the point. It's the dynamic linker
that cares about it.
To have any effect, it should be obvious that LD_LIBRARY_PATH has to be
propagated to the corresponding process's (Eclipse's) environment. So,
depending on how you start Eclipse you may have, for example, to
"export" LD_LIBRARY_PATH.

> You have to start Eclipse with the option
> -Djava.library.path=/usr/lib64 (which should point to the location of
> the lib) after the option -vmargs.

That's an alternative approach. But not the only way to do it.
The drawback of explicitly setting java.library.path is that it's value
will be overridden while the value of LD_LIBRARY_PATH will be added to
the value of java.library.path. Depending on one's needs this may or may
not be something to care about.

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-08-15 12:21:41 CEST

This is an archived mail posted to the Subclipse Users mailing list.