Eclipse Juno在Windows 8下找不到存储库

时间:2013-01-19 13:34:37

标签: windows-8 repository eclipse-juno

我在Windows 8 64下遇到了Eclipse Juno 64的问题:它看不到存储库,也看不到Maven,而不是eclipse本身就像http://download.eclipse.org/releases/juno

它说错误

Unable to read repository at http://download.eclipse.org/releases/juno/compositeContent.xml.
Unable to read repository at http://download.eclipse.org/releases/juno/compositeContent.xml.
Cannot assign requested address: connect

1 个答案:

答案 0 :(得分:1)

修改eclipse.ini并添加:

-Djava.net.preferIPv4Stack=true  

另外,如果你想使用android SDK编辑android.bat文件(位于:... \ android-sdk \ tools)
找到call %java_exe“并添加

“-Djava.net.preferIPv4Stack=true”.  

应该看起来像:

call %java_exe% -Djava.net.preferIPv4Stack=true %REMOTE_DEBUG%