Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subclipse error -- Subversion Native Library not available

I am getting the following message everytime the PHP project based on Subversion loads...

Subversion Native Library not available.

Obviously shown, the OS is a Mac OSX Mountain Lion. I have also followed the instructions within the link, and it still appears at completely random times. However, subversion actions seem to work fine.

like image 885
Salocin.TEN Avatar asked Dec 10 '12 01:12

Salocin.TEN


2 Answers

From main menu, select

Window -> Preferences -> Team -> SVN,

at right panel "SVN interface" zone.
You may find "client" is set to "JavaHL(JNI) Not Available".
Change it to "SVNKit(Pure Java) SVNKit vx.x"

like image 75
Trillion Avatar answered Oct 10 '22 10:10

Trillion


Your error is that the library has been loaded in another classloader. I can only guess you have some other Subversion plugin installed (so that you have more than one) and the other one has already loaded the library so it cannot be loaded again.

Aside from figuring that out and removing the other plugin, I would guess you can just install the SVNKit plugin and configure Subclipse to use it instead of JavaHL. The SVNKit plugin is on the Subclipse update site.

like image 39
Mark Phippard Avatar answered Oct 10 '22 10:10

Mark Phippard