Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: [SOLVED] subclipse unable to load default svn client

  1. #1
    Join Date
    Jan 2007
    Beans
    10

    [SOLVED] subclipse unable to load default svn client

    If you are running Ubuntu 8.04 and you install Eclipse 3.4 with subclipse 1.4, you will probably get the "unable to load default svn client" error when trying to add a repository.

    Here it is how I solved this problem. I assume that you have the 'subversion' and 'libsvn-java' packages already installed (if not, please do install them, and then follow the instructions).

    1) Go to System --> Administration --> Software Sources
    and under the "Updates" tab, check the hardy-backports updates. Close the window and update the package lists.
    2) Run the update manager and update all packages (subversion will be updated from version 1.4 to version 1.5)
    3) Edit the eclipse.ini file (it is located into the directory where you installed eclipse) by adding the following two lines, immediately after the "-vmargs" line
    Code:
    -Djava.library.path=/usr/share/java/
    -Djava.library.path=/usr/lib/jni/
    This should do the job, next time you start eclipse, it should correctly add your existing repository.

    Please post comments if you have any trouble.

    Cheers!

  2. #2
    Join Date
    Aug 2008
    Beans
    70

    Re: subclipse unable to load default svn client

    Installed Ubuntu 7.10 and did the upgrade to 8.04. Insalled Eclipse and subversion then subclipse and ran into that issue.


    Did what you said and it works now.

    I had to find the eclipse.ini file however. I installed Eclipse using apt-get and my .ini file was under :

    Code:
    /usr/lib/eclipse/eclipse.ini
    Thank you.

  3. #3
    Join Date
    Apr 2006
    Beans
    66
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: subclipse unable to load default svn client

    I don't really want to install all the backports. I'm not so sure they are as stable as the normal packages (I may be wrong on this, I guess..), even though subversion 1.5 is cool.

    Anyhow if you also don't want the backports another solution is to use version 1.2 of subclipse. Just use this eclipse update url:

    http://subclipse.tigris.org/update_1.2.x

  4. #4
    Join Date
    Oct 2008
    Beans
    1

    Re: subclipse unable to load default svn client

    Hi,
    I have the following configuration:

    eclipse 3.4
    subclipse 1.4.5
    subversion client adapter 1.5.2
    javaHL 1.5.2.1

    and the following subversion and libsvn-java package version (from backports):
    1.5.1.dfsg1-1ubuntu2~hardy2

    and had the message:

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2008-10-22 15:43:23.344
    !MESSAGE Unable to load default SVN Client

    I added to the path of java library in eclipse.ini the specified locations.

    Now i see javaHl in windows -> preferences -> team -> svn, and the log disapperaed.

    Yet, i still cannot access my repository (right click on a project and go to team, no svn commands availables) and in progress bar still have "Sinchronizing task list (sleeping)".


    Can you help ?


    Thanks

  5. #5
    Join Date
    Jan 2006
    Beans
    35
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: subclipse unable to load default svn client

    Quote Originally Posted by alfredio View Post
    Edit the eclipse.ini file (it is located into the directory where you installed eclipse) by adding the following two lines, immediately after the "-vmargs" line
    Code:
    -Djava.library.path=/usr/share/java/
    -Djava.library.path=/usr/lib/jni/
    I can confirm this works for Ubuntu 8.10, Eclipse 3.4.1 and svn 1.5.1

    Thanks

  6. #6
    Join Date
    Jun 2007
    Location
    Bombay,India
    Beans
    1,579
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: subclipse unable to load default svn client

    Please mark the thread solved.

  7. #7
    Join Date
    Nov 2008
    Beans
    1

    Re: subclipse unable to load default svn client

    I just tried this with Ubuntu 8.10 using the default install of eclipse 3.2. It does not work with this version, the steps above make no difference.

  8. #8
    Join Date
    Jan 2006
    Beans
    21

    Re: subclipse unable to load default svn client

    Quote Originally Posted by jradd View Post
    I just tried this with Ubuntu 8.10 using the default install of eclipse 3.2. It does not work with this version, the steps above make no difference.
    I just ran into the same problem: Ubuntu 8.10 w/ Eclipse 3.4 - updating eclipse.ini has no side effect.

    After some debugging, I noticed that my custom gnome launch icon was specifying "-vmargs" on the command line itself, which was rendering the vmargs from eclipse.ini useless.

    Fixed by removing vmargs from eclipse launch command.

    Check yours for similar error too.

    Good luck

    Ajay

  9. #9
    Join Date
    Jan 2006
    Beans
    21

    Re: [SOLVED] subclipse unable to load default svn client

    Quote Originally Posted by alfredio View Post
    [...]
    I assume that you have the 'subversion' and 'libsvn-java' packages already installed (if not, please do install them, and then follow the instructions).

    [...]
    3) Edit the eclipse.ini file (it is located into the directory where you installed eclipse) by adding the following two lines, immediately after the "-vmargs" line
    Code:
    -Djava.library.path=/usr/share/java/
    -Djava.library.path=/usr/lib/jni/
    [...]
    PS: Thanks alfredio for your fix. I confirm that this works with 8.10 / Eclipse 3.4

    Ajay

  10. #10
    Join Date
    Nov 2006
    Beans
    4

    Re: [SOLVED] subclipse unable to load default svn client

    Quote Originally Posted by ajaygautam View Post
    PS: Thanks alfredio for your fix. I confirm that this works with 8.10 / Eclipse 3.4

    Ajay
    Hmmm, I'm unable to get this working with 8.10 / Eclipse 3.2 (via aptitude) or Eclipse 3.4 (from downloaded compressed tarball). Here's my eclipse.ini from the 3.4 install:

    Code:
    $ more eclipse.ini
    -showsplash
    org.eclipse.platform
    -framework
    plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
    -vmargs
    -Djava.library.path=/usr/share/java/
    -Djava.library.path=/usr/lib/jni/
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx512m
    -XX:MaxPermSize=256m
    I'm running eclipse from the commandline without any extra parameters ... any other suggestions?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •