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

eclipse, eclipse-plugin, macos, svn

Solution

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

Problem

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?

Original source

Related problems