JavaHL problem in eclipse solved
In most of the cases is due to the lack of the libsvn-java library, so just install it:
Now you have to tell eclipse where to find this libraries. First, locate where the is:
By default, the necessary goods will be installed at /usr/lib/jni, and you now need to tell Java where to find them whenever Eclipse starts up.
The best way is to change your eclipse.ini settings file located in your Eclipse root folder. This file seems to list all the start up options that should be used when starting Eclipse. We need to add the following line at the end of this file:
set your jni directory location given by "locate" command ....
| $ sudo apt-get install libsvn-java | | | | |
Now you have to tell eclipse where to find this libraries. First, locate where the is:
| $ sudo updatedb |
| now run: |
| | $ locate libsvnjavahl-1.so | |
| | /usr/lib/jni/libsvnjavahl-1.so |
| /usr/lib/jni/libsvnjavahl-1.so.0 |
| /usr/lib/jni/libsvnjavahl-1.so.0.0.0 |
By default, the necessary goods will be installed at /usr/lib/jni, and you now need to tell Java where to find them whenever Eclipse starts up.
The best way is to change your eclipse.ini settings file located in your Eclipse root folder. This file seems to list all the start up options that should be used when starting Eclipse. We need to add the following line at the end of this file:
set your jni directory location given by "locate" command ....
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni
Comments
Post a Comment