Java EE 7 updatetool安装失败

时间:2014-04-02 09:27:18

标签: java oracle java-ee glassfish java-ee-7

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

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

这是一张图片:http://oi58.tinypic.com/x6iumx.jpg

错误文字示例1:

输入/输出错误:网址http://pkg.oracle.com/javaeesdk/7/native/release/manifest/0/updatetool@2.3.5%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.

我不使用任何代理服务器。求救!

3 个答案:

答案 0 :(得分:1)

我也一样 - 这是因为他们的网站速度令人难以置信。

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

但有时它只需要再次运行,这在我的情况下有用。

答案 1 :(得分:0)

您可以从Oracle Java EE 7 SDK download page下载该教程。

只需下载最新的Java EE 7 SDK,然后解压缩即可。该教程位于glassfish4 / docs文件夹中。

答案 2 :(得分:-1)

我已经设法在3天后最终安装了updatetool。

对于遇到同样问题的每个人,我的建议是:

早上,下午,晚上和晚上多次尝试安装。也许一旦你有成功的尝试:)

问题不在我身边。