Installing Checkstyle-Plugin (7.2.0) for Eclipse Neon fails

前端 未结 1 1702
闹比i
闹比i 2020-12-02 01:52

I tried to install the checkstyle-Plugin for my eclipse bundle Eclipse for Java Developers, by dragging the provided link from http://eclipse-cs.sourceforge.net

相关标签:
1条回答
  • 2020-12-02 02:09

    YOU NEED TO INSTALL YOUR NETWORK ROOT SSL CERTIFICATE INTO JRE CACERTS. FOR ANY JAVA PKIX SSL EXAPTION YOU MAY FOLLOW THIS GUIDE.

    How to get Root Certificate?

    1. Open Google Chrome and navigate to https://sourceforge.net/
    2. Click on icon just besides your url. see following image.

    1. Click on View Certificate.You can see hierarchy and select top most certificate in hierarchy
    2. Confirm that certificate have ROOT word in its name.
    3. Now just bellow that hierarchy part you can see a rectangle image of the certificate. Just drag that image and drop it to your desktop.

    NOW YOU HAVE YOUR ROOT CERTIFICATE!

    HOW TO INSTALL THIS CERTIFICATE INTO JRE CACERTS?

    Before you proceed further do confirm you had located exactly that jre which is giving this error. Many times IDE uses jre which is bundled with it not system jre. In my case I pointed all my IDE to my system Java installation.

    1. use keytool.exe inside your jre bin folder.
    2. fire following command to place your certificate inside cacerts file

    keytool -import -noprompt -trustcacerts -alias ALIASNAME -file
    /PATH/TO/YOUR/DESKTOP/CertificateName.cer -keystore /PATH/TO/YOUR/JDK/jre/lib/security/cacerts -storepass changeit

    NOW YOUR PROBLEM IS RESOLVED! RESTART YOUR IDE AND CHECK RESULTS.

    0 讨论(0)
提交回复
热议问题