Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Trying to setup Eclispe. I am running ubuntu 10.10 (Maverick). Apache2.2.16 Subversion 1.6.12

The Eclipse help/about/installed software says: Eclipse Platform 3.5.2 Subclipse 1.0.0 Version Control with Subversion 1.1.1

The Subclips wiki I followed is here

I have installed the libsvn-java app as discussed.

I added the line "-Djava.library.path=/usr/lib/jni" to the eclipse.ini file

I checked the Eclipse help/about/confirguration settings and both of these lines are listed:

eclipse.vmargs=-Djava.library.path=/usr/lib/jni
java.library.path=/usr/lib/jni

I checked that those files are in those directories. Still, when I check the preferences>team>svn an error dialog shows:

Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl.1 in java.library.path Incompatible JavaHL library loaded 1.3.x or later required

I followed the "Testing JavaHL libraries" troubleshooting section at the bottom of the wiki:

I downloaded the tarbal and ran it in a folder on my desktop with no problems. Then, I followed the instructions and placed that file INSIDE the path (usr/lib/jni/testJavaHL) and ran it from there. There are 50 tests performed and each one of them came back with this same error (posting only one for brevity):

50) testCommitRevprops(org.tigris.subversion.javahl.BasicTests)java.io.FileNotFoundException: /usr/lib/jni/testJavaHL/local_tmp/greek_files/iota (No such file or directory)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
 at org.tigris.subversion.javahl.WC.materialize(WC.java:70)
 at org.tigris.subversion.javahl.SVNTests.buildGreekFiles(SVNTests.java:303)
 at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:222)
 at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)

FAILURES!!!
Tests run: 50,  Failures: 0,  Errors: 50

Any ideas as to how/why the "local_tmp/greek_files/iota" is appended to the directory? I assume that's my problem..

I'm also having a problem with new>repository location = ...as the directory location of my svn repository is one level above the home directory - which is prepended to whatever I place in the dialog box - resulting in this error:

svn: '/home/ricalsin/file:/home/svn' does not exist

Thank you for any help.

share|improve this question

closed as off-topic by Iain, mdpc, Ward, Tim Brigham, Dave M Sep 26 '13 at 19:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Iain, mdpc, Ward, Tim Brigham, Dave M
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Is there a reason you're using the 1.0.0 version of Subclipse for eclipse? That's a very very old client for the 3.5.x version of eclipse.

Go to Subclipse and get the 1.4.x or 1.6.x install depending upon your Subversion server install. Get 1.4.x of Subclipse if your Subversion server is running 1.5.x. Get 1.6.x of Subclipse if your Subversion server is running 1.6.x.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.