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

Re: Re: Re: [Subclipse-users] Question about subclipse 1.4.7 and svn+ssh access with private keys

From: Mark Phippard <mphippard_at_collab.net>
Date: Fri, 9 Jan 2009 13:00:37 -0500

On Fri, Jan 9, 2009 at 12:46 PM, <tommydkat_at_gmail.com> wrote:
> Thanks for the info on not specifying any command line arguments to eclipse.
>
> The thing is, I'm not passing any arguments to eclipse when I start it. I'm on Ubuntu 8.10 (64-bit) and /usr/bin/eclipse is what I run. When I fire it up and click "Help/About SDK" and then "Configuration Details" (per the info at the link you posted previously), I don't see the java.library.path setting I put in /usr/lib/eclipse/eclipse.ini:
>
> *** System properties:
> eclipse.buildId=M20070212-1330
> eclipse.commands=-os
> linux
> -ws
> gtk
> -arch
> x86_64
> -launcher
> /usr/lib/eclipse/eclipse
> -name
> Eclipse
> -showsplash
> 600
> -exitdata
> a18016
> -install
> /usr/lib/eclipse
> -vm
> /usr/lib/jvm/java-gcj/bin/java
> eclipse.ee.install.verify=false
> eclipse.product=org.eclipse.sdk.ide
> eclipse.startTime=1231522486708
> eclipse.vm=/usr/lib/jvm/java-gcj/bin/java
> eclipse.vmargs=-Djava.library.path=/usr/lib/jni
> -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
> -Dgnu.gcj.runtime.VMClassLoader.library_control=never
> -Dosgi.locking=none
> -jar
> /usr/lib/eclipse/startup.jar
> eof=eof
>
> (snip)
>
> Additionally, my /usr/lib/eclipse/eclipse.ini file hardly has anything in it:
>
> tom_at_deathstar:~$ cat /usr/lib/eclipse/eclipse.ini
> -vmargs
> -Djava.library.path=/opt/CollabNet_Subversion/lib
> -Xms40m
> -Xmx256m
> tom_at_deathstar:~$
>
> So, I'm thinking it's something with the way Eclipse was packaged for Ubuntu or Debian that is causing my grief.
>
> I'll contact the SVNKit group now to see if I can get SVNKit working since I'm hitting a wall getting JavaHL loaded.

Given that Ubuntu has put /usr/lib/jni in the java.library.path for
you, then perhaps you can just create symlink for the JavaHL library
in that folder?

Something like:

ln -s /usr/lib/jni/libsvnjavahl-1.so
/opt/CollabNet_Subversion/lib/libsvnjavahl-1.so

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2009-01-09 19:00:51 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.