9

I am trying to install log4j Eclipse Plugin.

But I'm Getting this error message :

Unable to read repository at https://sourceforge.net/projects/oneclick-logger/files/site/content.xml. Received fatal alert: handshake_failure

2

1 Answer 1

3

I had the same issue for yet another plugin hosted on SourceForge. It seems to be a common issue.

As stated in the comments above, this solution helped me: https://stackoverflow.com/a/38264878. But I had to go some extra steps to find which JRE my Eclipse installation was using. So here are all the steps put together. This instructions worked on my Mac, using Eclipse Neon. But other OS and versions of Eclipse will have really similar operations:

1./ Check the JRE used by Eclipse: Click the "help" menu -> Installation Details -> Configuration Then look for the -vm argument

2./ Open a finder/file explorer to the JRE's .../lib/security sub-folder And make a backup of local_policy.jar and US_export_policy.jar. Just in case.

3./ Download the Java Cryptography Extension from Oracle:

And unzip it.

4./ Copy local_policy.jar and US_export_policy.jar just just downloaded into the JRE's .../lib/security sub-folder

5./ Restart Eclipse

Then retry the installation. It should be fine this time.

Not the answer you're looking for? Browse other questions tagged or ask your own question.