subclipse / subclipse

Subclipse - Eclipse SVN Provider
Eclipse Public License 1.0
462 stars 120 forks source link

Subclipse 4.2.3 for eclipse unable to locate JavaHl #51

Closed look4kap closed 6 years ago

look4kap commented 7 years ago

The new update is looking for JavaHL 1.9.4 in the plugins folder(org.tigris.subversion.clientadapter.javahl.win64_1.9.4) which isnt getting downloaded along with install. Copied it from another m/c for it to show up on preference->team->svn.

benhjt commented 7 years ago

I'm also having this problem in eclipse oxygen one (4.7.1). @look4kap can you explain what you copied from where and to in order for this to work?

PhilClegg commented 7 years ago

I was able to solve this by installing a version of SVN that had the JavaHL 1.9.4 included. I'm sure you can use any SVN client but just for reference the one I used was located at: http://www.sliksvn.com/en/download. I installed the latest 64 bit on that site (Just basic install, nothing fancy added). Once installed I restarted my Eclipse (oxygen in my case) and under preference->team->svn it no longer showed unavailable, it now shows "JavaHL (JNI) 1.9.7-SlikSvn (SlikSvn/1.9.7)".

wagnerma commented 7 years ago

I have the same issue with oxygen 4.7.1a

markphip commented 6 years ago

I've not seen this problem before. There was a problem just fixed where the Windows JavaHL DLL's were not including the Windows MSVC runtime it needed so they did not load. I wonder if that this the problem that was being seen? This would show up as JavaHL not being available at runtime, not a problem during the install itself.

chriskeeble commented 6 years ago

Also having this problem. After upgrading to Eclipse Oxygen (4.7.3) and installing all updates, I have now spent nearly 2 hours attempting to get Subclipse running / installed again without any success.

markphip commented 6 years ago

Sorry it is not working for you, but without details there is not much anyone can do to help you resolve your problem. Absolute minimum info needed is your OS, but also any errors you are seeing would be important to know as well. We have tried to include information for different OS in the wiki. https://github.com/subclipse/subclipse/wiki

chriskeeble commented 6 years ago

Hi Mark.

I've now installed Eclipse Oxygen on a different Windows 10 64-bit laptop, and having resolved two installation errors myself (unable to rename file in cache folder and another I forget) I have hit this same error as described by the OP when trying to add a Repository URL

Failed to load JavaHL Library. These are the errors that were encountered: no libapr-1 in java.library.path no libapriconv-1 in java.library.path no ssleay32 in java.library.path no libaprutil-1 in java.library.path no libsasl in java.library.path no libsvn_subr-1 in java.library.path no libsvn_delta-1 in java.library.path no libsvn_diff-1 in java.library.path no libsvn_wc-1 in java.library.path no libsvn_fs-1 in java.library.path no libsvn_repos-1 in java.library.path no libsvn_ra-1 in java.library.path no libsvn_client-1 in java.library.path no libsvnjavahl-1 in java.library.path no svnjavahl-1 in java.library.path no svnjavahl in java.library.path java.library.path = C:\Users\Laptop\eclipse\php-oxygen3\eclipse;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_162/bin/server;C:/Program Files/Java/jre1.8.0_162/bin;C:/Program Files/Java/jre1.8.0_162/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\GAM\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Laptop\AppData\Local\Microsoft\WindowsApps;;C:\WINDOWS\system32;;.

chriskeeble commented 6 years ago

...and various resources keep pointing to this reference (including historical posts of your own on StackOverflow) which appears to be very out-of-date, unless I am misunderstanding something:

http://subclipse.tigris.org/wiki/JavaHL

chriskeeble commented 6 years ago

Restarting Windows, installing JRE latest release, and now get errors from Eclipse on Startup...

Java was started but returned exit code=13

markphip commented 6 years ago

I think I fixed it. The issue would only be when doing a Marketplace install.

I tried it from a Windows computer and I noticed that the JavaHL plugin was not even being installed. After the install is over, if you just do the Install/Update option and select the Subclipse update site from the drop-down, then JavaHL shows up in the list of plugins to install. If you select it and install it then everything works.

I think I have fixed the problem in our Eclipse Marketplace listing that was causing this. I will try to confirm and one way or another get that fixed. But the easy workaround if you have already installed Subclipse is to just go to the Install/Update option and select the Subclipse update site. Then choose the JavaHL Windows binaries option.

markphip commented 6 years ago

I have confirmed the Marketplace fix has worked properly. Thanks for the nudge and sorry this took so long to correct.

chriskeeble commented 6 years ago

Hi Mark,

Thanks for the quick response. I've tried to update, by going to Help > Eclipse Marketplace... > Installed, selecting Subclipse 4.2.3 and clicking "Update" but this simply changes to "Update Pending" and nothing happens?

chriskeeble commented 6 years ago

Having uninstalled Subclipse via the Marketplace and then reinstalled all seems to be working, and I could see the JavaHL component during install options selection.

Thank you for fixing so quickly Mark.