问题:
使用eclipse中提供的Help菜单》Install New software,已填入正确的链接地址,但是在下载过程中出现错误。
Some sites could not be found. See the error log for more detail. Unable to read repository athttp://download.eclipse.org/webtools/repository/indigo/content.xml. Cannot assign requested address: JVM_Bind Unable to read repository at http://download.eclipse.org/eclipse/updates/3.7/content.xml. Cannot assign requested address: JVM_Bind Unable to read repository athttp://download.eclipse.org/mylyn/releases/indigo/content.xml. Cannot assign requested address: JVM_Bind Unable to read repository at http://download.eclipse.org/releases/indigo/content.xml. Cannot assign requested address: JVM_Bind
解决方案:
更改eclipse.ini文件。
在-vmargs下面增加这一行:
-Djava.net.preferIPv4Stack=true
ok,问题解决了!