Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing JavaHL 1.6 on CentOS

I'm looking to install the 1.6 version of JavaHL on CentOS, which proves to be more tricky then expected.

Has someone succeed doing so and can point a repo for this?

Thanks in advance.

like image 439
SyBer Avatar asked Dec 17 '22 01:12

SyBer


2 Answers

On my CentOS 5 machine, the following worked like a charm:

yum install subversion-javahl

It pulled the rpm from the dries repo. If you don't have yum configured to pull from dries: http://dries.ulyssis.org/rpm/clientconfig.html

Remember, as has been said by others here, that JavaHL is pretty version-sensitive - I'm running subclipse 1.6 / subversion 1.6, so I installed JavaHL 1.6. Make sure you're installing the right version.

like image 180
cydonian Avatar answered Dec 28 '22 00:12

cydonian


I resolved that issue on rhel5u5 64 bit, but doing a ckeckout from the latest stable tag and doing a full build of subversion and the javahl binding svn co http://svn.apache.org/repos/asf/subversion/tags/1.6.11 svn-1-6-11

./configure --prefix=/opt/subversion --enable-javahl --with-jdk=/usr/lib/jvm/java-1.6.0-sun.x86_64
make 
make install
make javahl
make install-javahl

You will need to get many dependencies from the repositories though.

like image 37
feniix Avatar answered Dec 28 '22 00:12

feniix