Eclipse 4.9 fails to install SonarLint plugin 10.6 on Windows 10

My Eclipse 4.9 runs on java.version=1.8.0_45 which is Java 8.

When I tried to install it via the Help - Eclipse Market route, I got this error:

Unable to read repository at https://eclipse-uc.sonarlint.org/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I then downloaded the SonarLint plugin 10.6 zip file and tried to install it via the Help - Install New Software route. I got errors like the following:

An error occurred while collecting items to be installed
session context was:(profile=WRWB.Win32, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.buildship,10.6.0.82217.
Error reading signed content:C:\Users\xxx\AppData\Local\Temp\signatureFile6054247806910596857.jar
An error occurred while processing the signatures for the file: C:\Users\xxx\AppData\Local\Temp\signatureFile6054247806910596857.jar
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.cdt,10.6.0.82217.
Error reading signed content:C:\Users\xxx\AppData\Local\Temp\signatureFile6098684966407041738.jar
An error occurred while processing the signatures for the file: C:\Users\xxx\AppData\Local\Temp\signatureFile6098684966407041738.jar
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.core,10.6.0.82217.
Error reading signed content:C:\Users\xxx\AppData\Local\Temp\signatureFile5663926588007112786.jar
An error occurred while processing the signatures for the file: C:\Users\xxx\AppData\Local\Temp\signatureFile5663926588007112786.jar
Problems downloading artifact: org.eclipse.update.feature,org.sonarlint.eclipse.feature,10.6.0.82217.
Error reading signed content:C:\Users\xxx\AppData\Local\Temp\signatureFile8286835961913214356.jar
An error occurred while processing the signatures for the file: C:\Users\xxx\AppData\Local\Temp\signatureFile8286835961913214356.jar
Problems downloading artifact: osgi.bundle,org.sonarlint.eclipse.jdt,10.6.0.82217.

Is there a compatibility problem here? I was able to install the SonarLint plugin 10.6 zip file on Eclipse 4.22. So the zip file is good.

I tried to install the SonarLint plugin 7.13 version and got a different error message. I was then able to install the SonarLint plugin 6.2 version. So it seems there is a compatibility problem. I would like to know the latest SonarLint plugin version I could use on this Eclipse 4.9 platform.

Hi,

Welcome to the community!

Eclipse 4.9 is from 2018! :scream:

To be honest, I’m not sure we had SonarLint then.

You should pursue updating to current versions of Eclipse and Java. You’ll then be able to use SonarLint.

 
HTH,
Ann

1 Like

Hello @jiel-cso,

with our current version, we still support Eclipse 4.8+ and up, but you have to have Eclipse running on Java 11 as per our requirements. When not running Eclipse 4.9 with Java 11 but Java 8, then the last supported version is 6.2.

Best,
Tobias

1 Like

Hi Tobias,

Thanks for the confirmation!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.