Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix JavaHL (JNI) Not available after I have changed the logon password on my Mac?

I have installed Eclipse 3.5.2 and the plugin Subversion JavaHL Native Library Adapter 1.6.9.2 and this worked without any problems. However, this morning I was forced to change the password to logon to my Mac and since then I get the message that "Subversion native library not available" when I try to save any changes. Can anyone help? I have tried to add this line (-Djava.library.path=/usr/lib/jni) to the eclipse.ini file but this didn´t seem to make any difference.

Can anyone help?

like image 684
INeedHelp Avatar asked Mar 03 '10 15:03

INeedHelp


1 Answers

Install MacPorts or HomeBrew, then run the following command:

For MacPorts, the commands to run are:

sudo port install subversion-javahlbindings +no_bdb +universal

For HomeBrew, the command is:

brew install --universal --java subversion
like image 128
Raptor Avatar answered Nov 01 '22 17:11

Raptor