我尝试使用updatetool安装Java EE 7,以便能够运行Java EE教程示例。

但是,updatetool的安装失败。我尝试从基本操作系统上的命令行启动updatetool安装,然后在安装updatetool时看到错误。

这是图像:http://oi58.tinypic.com/x6iumx.jpg

错误文字范例1:

输入/输出错误:URL http://pkg.oracle.com/javaeesdk/7/native/release/manifest/0/[email protected]%2C0-56.2852%3A20111207T211721Z的连接失败:503:服务暂时不可用

Could not download application packages. This could be because:
  - a proxy server is needed to access the internet. Please ensure that
    the system proxy server settings are correct, or set the 'http_proxy'
    environment variable to the full URL of the proxy server.
  - the package server or network connection is slow.
    If you are getting time out errors you can try setting the
    PKG_CLIENT_CONNECT_TIMEOUT and PKG_CLIENT_READ_TIMEOUT
    environment variables and try again. For example to increase
    the timeouts to 300 seconds set them to 300
  - the package server is down or otherwise inaccessible or it is
    generating invalid data. Please contact the provider of the package
    server.


错误文字范例2:

文件138/564输入/输出错误:URL http的连接失败://pkg.oracle.com/javaeesdk/7/native/release/file/0/217e83782a91f09fa7f35122412cd155263b107f:502:代理错误

Could not download application packages. This could be because:
  - a proxy server is needed to access the internet. Please ensure that
    the system proxy server settings are correct, or set the 'http_proxy'
    environment variable to the full URL of the proxy server.
  - the package server or network connection is slow.
    If you are getting time out errors you can try setting the
    PKG_CLIENT_CONNECT_TIMEOUT and PKG_CLIENT_READ_TIMEOUT
    environment variables and try again. For example to increase
    the timeouts to 300 seconds set them to 300
  - the package server is down or otherwise inaccessible or it is
    generating invalid data. Please contact the provider of the package
    server.


我不使用任何代理服务器。请帮助!

最佳答案

我有同样的看法-这是因为他们的网站是如此之慢。

您显示的输出告诉您该怎么做,增加超时时间。

但是有时只需要再次运行就可以了。

09-19 06:57