eclipse中使用Install New software下载资源超时解决

来源:互联网 发布:黑魂3男性捏脸数据 编辑:程序博客网 时间:2024/06/13 10:57


问题:

使用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,问题解决了!

原创粉丝点击