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

Re: subclipse 0.9.22 on Linux

From: Kurt Huwig <k.huwig_at_iku-ag.de>
Date: 2004-10-10 09:51:23 CEST

McClain Looney wrote:
> On Sat, 9 Oct 2004 22:02:17 +0800, Alwyn Schoeman
> <alwyn.schoeman@gmail.com> wrote:
>
>>I needed to have LD_LIBRARY_PATH set even for 0.9.21, and my javahl.so
>>is in /usr/lib.
>
> same here. java is funny about System.loadLibrary() on linux.
>
> in any event, the reason why there is no error, is that subclipse with
> switch to command-line mode operation if the library can't be loaded.
> one way to tell if the lib isn't loading is to try and select it in
> the svn preferences page. if the library won't load, it will display
> an error text.

There is nothing funny about it, if you have read the specs:

http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/_library.html

The following directories are searched for the library:

        ${JRE_HOME}/lib/<arch>/

On x86, <arch> is 'i386'. Depending upon client oder server VM:

        ${JRE_HOME}/lib/<arch>/client/
or
        ${JRE_HOME}/lib/<arch>/server/

And if you have a JDK instead of JRE, this one is searched, too:

        ${JDK_HOME}/lib/<arch>/

Then 'LD_LIBRARY_PATH' is searched.

-- 
Kurt Huwig             iKu Systemhaus AG        http://www.iku-ag.de/
Vorstand               Am Römerkastell 4        Telefon 0681/96751-0
                        66121 Saarbrücken        Telefax 0681/96751-66
GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940  EB6D 4C32 F908 99DD 9468
Received on Sun Oct 10 17:51:23 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.