Advertisements

Monday, October 26, 2015

Eclipse/JdevStudio - Unable to connect to updates repositories

I'm getting an error every time I try to install something with Eclipse:

Error:



This can be fixed using this java arg variable:

-Djava.net.preferIPv4Stack=true

We have to put this argument at the end of the file "eclipse.ini" and restart the IDE. (for Jdevstudio is jbdevstudio.ini)


Now I'm able to see whats under the repository.




I think the reason why is not working is because the current network I'm using doesn't support the newer network protocol IPv6(which is the most recent version), so we have to tell eclipse to go back to IPv4.


No comments:

Post a Comment