【发布时间】:2014-05-13 11:26:28
【问题描述】:
我已尝试使用 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/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.
我不使用任何代理服务器。请帮忙!
【问题讨论】:
-
如果您找到示例文件,请转到此答案stackoverflow.com/questions/17633537/…
标签: java oracle jakarta-ee glassfish java-ee-7