Eclipse is looking for JavaHL library while installing and using subclipse, the plugin for subversion. How to install JavaHL in Ubuntu or Linux?

2 answers, votes, 10341 views
raj's picture
asked by raj
2 years 24 weeks ago



2 Answers

Answer
Best Answer

Hello!
You can try install JavaHL like this:

sudo apt-get install libsvn-java

Restart eclipse after that. You should create a file called ecpilserc in .eclipse directory:

gedit ~/.eclipse/eclipserc

Add this line at the new created file:

VMARGS="-Djava.library.path=/usr/lib/jni"

This should be all.

alexandrug's picture
answer by Alex
2 years 24 weeks ago
  • In ubuntu 10.04 after installing, restart the machine - then only it worked
     

    - Visitor 1 year 34 weeks ago
  • That worked like a breeze, Thanks Alex - raj 2 years 24 weeks ago
  • Answer

    Also add this line to your eclipse.ini

    -Djava.library.path=/usr/lib/jni

    otherwise you'll see error dialog while running eclipse

    The above change is required ONLY if you configured eclipse.ini -vm argument to a jdk

    for eg. in eclipse.ini you have the following line

    -vm
    /home/dave/software/jdk1.6.0_17/bin/java

    Visitor's picture
    answer by Visitor
    51 weeks 7 hours ago

    Ubuntu 11.04 released!

    Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

    Read ubuntu 11.10 reviews and share yours now!!

    View in your own language!

    Stay Connected

    Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

    Poll

    Favorite desktop environment?: