从哪里获得 Java 运行时可再发行组件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13923942/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to get Java Runtime Redistributables?
提问by CJ7
Where can I download a redistributable for the following version of the Java Runtime?
在哪里可以下载适用于以下 Java 运行时版本的可再发行组件?
Java 1.6 Update 29
回答by Stephen C
The redistributables for Java are the JRE and the JDK. You can get them from the Oracle website. If you want versions other than the most recent, start looking here:
Java 的可再发行组件是 JRE 和 JDK。您可以从 Oracle 网站获取它们。如果您想要最新版本以外的版本,请从此处开始查看:
I should warn you that Java 6 patch 29 is out of date. There are more recent Java 6 releases with important security patches. You should probably use the most recent Java 6 that you can get hold of, especially if your JRE / application is potentially exposed to untrusted people ....
我应该警告您 Java 6 补丁 29 已过时。有更新的 Java 6 版本带有重要的安全补丁。您可能应该使用可以获得的最新 Java 6,特别是如果您的 JRE/应用程序可能暴露给不受信任的人......
回答by KappaMax
New runtimes could be downloaded directly from Oracle at: http://www.oracle.com/technetwork/java/javase/downloads/index.html
新的运行时可以直接从 Oracle 下载:http: //www.oracle.com/technetwork/java/javase/downloads/index.html
Older ones are found on the archive page: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html
在存档页面上可以找到较旧的:http: //www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html
回答by Bob Stine
Here's a link that answers my question:
这是回答我的问题的链接:
http://someslack.wordpress.com/2012/01/28/extract-deb-rpm-bin-files/
http://someslack.wordpress.com/2012/01/28/extract-deb-rpm-bin-files/
To summarize:
总结一下:
- Down load jre-whatever-linux-i586-rpm.bin from Oracle.
- unzip jre-whatever-linux-i586-rpm.bin
- rpm2cpio [rpm file] | cpio -div
- 从 Oracle 下载 jre-whatever-linux-i586-rpm.bin。
- 解压 jre-whatever-linux-i586-rpm.bin
- rpm2cpio [rpm 文件] | cpio -div
EDIT
编辑
Hmmm. I've had better luck going to directory /usr/java/jdk1.6.0_45 on my development system and copying the jre directory from there.
嗯。我有更好的运气去我的开发系统上的目录 /usr/java/jdk1.6.0_45 并从那里复制 jre 目录。