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

Re: [Subclipse-users] javahl issue after upgrading java

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 8 Feb 2008 12:39:16 -0800

On Feb 8, 2008 5:06 AM, Carsten Höhne <c.hoehne_at_bafz.de> wrote:

> i have had a linux box (openSuse 10.3) with a working subclipse on it.
> Java and subversion are installed as included in the openSuse 10.3
> distribution.
> Eclipse is installed by myself (V 3.3.1.1) And subclipse is installed
> from the updatesite.
> After that i could work with subclipse.
> I have checked out an existing repository and was able to commit files
> into the repository.
> After an online update the java version on my system changed.
> After that i can not use javahl anymore:-( I have to switch to svnkit.
> Is this correctable? And how? Any answer is well appreciated.

The JVM version should not really matter, so I am going to speculate
as to what might have happened.

JavaHL is a native library that is called via JNI. By default, it is
not found in the library path that Linux JVM's use to search for the
native library. The JVM always has a couple of private paths where it
will look for libraries, and these show up in the error message. My
guess is that you copied or symlinked JavaHL into one of those paths.
So now the new JVM does not find the library.

The right way to do this is to edit the eclipse.ini file and add this
to the end:

-Djava.library.path=/usr/local/lib

Of course substitute the path where your JavaHL library lives.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-02-08 21:39:23 CET

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.