FAQ: 0x00100000: Cannot load libraries: javahl.SVNClient
FAQ: 0x00100000: Cannot load libraries: javahl.SVNClient
In order to resolve this problem see: http://www.polarion.org/index.php?page= ... sive#notes
Best regards,
Igor Vinnykov
Polarion Team
Igor Vinnykov
Polarion Team
In Debian javahl is in the standard repository, so you can just apt-get it. It's not very clear at all how to tell subversive to use the native libraries on Debian Linux. After some puzzling and looking at the source, I found the following workaround:
The JavaHLClientWrapperFactory that Subversive is using, looks into the eclipse/plugins/org.polarion.team.svn.client.javahl.win32.XXX directory, with XXX beging the highest number.
In that directory it looks for any file which either ends with .dll or .so and has "java" in its name.
So, to get it to work it did the following:
Notes:
On my system 1.1.3 was the highest version, but this can of course be different in the future. You have to create the symlink in the directory with the highest version.
If libsvnjavahl-1.so is not installed in /usr/lib/jni on your system, just "locate javahl" and try to use any other libsvnjavahl-X.so you find.
PS
Perhaps Subversive could use a more intuitive method to load the native libraries on Linux? Especially the .win32 directory is not a very obvious location for storing the linux library
Kind regards,
Arjan Tijms
The JavaHLClientWrapperFactory that Subversive is using, looks into the eclipse/plugins/org.polarion.team.svn.client.javahl.win32.XXX directory, with XXX beging the highest number.
In that directory it looks for any file which either ends with .dll or .so and has "java" in its name.
So, to get it to work it did the following:
Code: Select all
sudo apt-get install subversion libsvn-java
cd [ECLIPSE_HOME]/plugins/org.polarion.team.svn.client.javahl.win32_1.1.3
mv libsvnjavahl-1.dll libsvnjavahl-1.dll.OLD
ln -s /usr/lib/jni/libsvnjavahl-1.so libsvnjavahl-1.so
[start eclipse]
Notes:
On my system 1.1.3 was the highest version, but this can of course be different in the future. You have to create the symlink in the directory with the highest version.
If libsvnjavahl-1.so is not installed in /usr/lib/jni on your system, just "locate javahl" and try to use any other libsvnjavahl-X.so you find.
PS
Perhaps Subversive could use a more intuitive method to load the native libraries on Linux? Especially the .win32 directory is not a very obvious location for storing the linux library

Kind regards,
Arjan Tijms
-
- Posts: 6
- Joined: Fri Oct 13, 2006 1:08 pm
- Location: Sauerland, Germany
Until yesterday it worked for me on to add the following to my Eclipse starter configuration (using the Debian package):
funnily, as of today, the library cannot be found anymore. There was a Kernel update today, and I installed Hibernate Tools (disabled it again after Subversive stopped working).
So I just tried the above solution with the symlink, but that doesn't work either. So it's SVNkit for now
Any further ideas are very welcome!
Code: Select all
-vmargs -Djava.library.path=/usr/lib/jni
funnily, as of today, the library cannot be found anymore. There was a Kernel update today, and I installed Hibernate Tools (disabled it again after Subversive stopped working).
So I just tried the above solution with the symlink, but that doesn't work either. So it's SVNkit for now

Any further ideas are very welcome!
Return to “Polarion Subversive - Eclipse Client for SVN”
Who is online
Users browsing this forum: No registered users and 1 guest