从哪里获得 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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 14:27:52  来源:igfitidea点击:

Where to get Java Runtime Redistributables?

javaredistributable

提问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 stealthjong

Googletells me right herefor SDK, or herefor JRE...

谷歌告诉我这里是 SDK,这里是 JRE ......

回答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:

总结一下:

  1. Down load jre-whatever-linux-i586-rpm.bin from Oracle.
  2. unzip jre-whatever-linux-i586-rpm.bin
  3. rpm2cpio [rpm file] | cpio -div
  1. 从 Oracle 下载 jre-whatever-linux-i586-rpm.bin。
  2. 解压 jre-whatever-linux-i586-rpm.bin
  3. 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 目录。