首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Java 7更新工具安装失败

Java 7更新工具安装失败
EN

Stack Overflow用户
提问于 2014-04-02 09:27:17
回答 3查看 583关注 0票数 1

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

但是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: Service临时不可用连接失败

代码语言:javascript
复制
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 : //pkg.oracle.com/javaeesdk/7/native/release/file/0/217e83782a91f09fa7f35122412cd155263b107f: 502:代理错误连接失败

代码语言:javascript
复制
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.

我不使用代理服务器。救命啊!

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2014-04-02 09:35:44

我也有过同样的经历--因为他们的网站太慢了。

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

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

票数 1
EN

Stack Overflow用户

发布于 2016-05-06 17:14:26

您可以从OracleJavaEE7SDK 下载页面下载本教程。

只需下载最新的JavaEE7SDK并解压缩即可。本教程位于glassfish4 4/docs文件夹中。

票数 0
EN

Stack Overflow用户

发布于 2014-04-03 09:31:58

3天后,我终于安装了updatetool。

我对所有有同样问题的人的建议是:

在早上、下午、晚上和晚上尝试安装几次。也许一旦你有了成功的尝试:

问题不在我这一边。

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22807055

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档