Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On my linux box (oneiric, 64bit) I'm running Eclipse and java straight from the Eclipse/Oracle tarballs. I'd like to install the javaHL subversion libraries, which according to the subclipse wiki are packaged in the libsvn-java package, but if I do an

apt-get install libjava-svn

apt-get will pull down all sorts of dependencies related to openjdk, which I don't really care for. I'm not that familiar with apt-get too. Is there a way around this? Can I just install the shared libraries, without all the other stuff?

share|improve this question

2 Answers 2

download the lib-svn source package and build manually, in that case it wont download all dependecies by itself and you can avoid openjdk stuff.

Check this article on how to compile svn from sources

share|improve this answer

According to this article I can just download the deb package and extract the files in the right location. In my case that's just

cp $WHERE_I_EXTRACTED_THE_DEB/CONTENT/usr/lib/jni/* $JAVA_HOME/jre/lib/amd64

and no need to tell java where to look for libraries.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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