Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

open eclipse Markeplace

I want to use eclipse marketplace for adding svn plugin but when i try to do it i have this exception :

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I use eclipse kepler.

have you any suggestions ?

thank you

like image 816
as_taous Avatar asked Dec 17 '13 09:12

as_taous


1 Answers

I am afraid, it is not proxy. Nor the antivirus. I had the same problem and neither helped. But your Eclipse simply can't reach a site because java 7 by default makes Eclpse to reach it throught the protocol IP6, that is not really supported by Eclipse, at least in versions till 4.3.

Go to cmd, use

setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true

restart eclipse and it will work.

like image 136
Gangnus Avatar answered Sep 26 '22 01:09

Gangnus