Java 适用于 centos 6.5 的 openjdk 1.8 包
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23916812/
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
openjdk 1.8 package for centos 6.5
提问by Jilles van Gurp
I want to move our production setup to openjdk 1.8 soon. Currently we're running openjdk 1.7u55 on centos 6.5.
我想尽快将我们的生产设置转移到 openjdk 1.8。目前我们在 centos 6.5 上运行 openjdk 1.7u55。
The trouble is that I can't seem to get a straight answer out of google on where to find a yum repository with 1.8. Has a usable rpm been released somewhere? If so, where? If not, is there a rough ETA when this might happen (e.g. centos 7 or epel?). I could probably wait a few weeks but not much longer.
问题是我似乎无法直接从谷歌那里得到一个关于在哪里可以找到 1.8 的 yum 存储库的答案。某个地方是否发布了可用的 rpm?如果有,在哪里?如果没有,是否有可能发生的粗略预计到达时间(例如 centos 7 或 epel?)。我可能会等几个星期,但不会太久。
I was able to find some fedora packages at least: https://apps.fedoraproject.org/packages/java-1.8.0-openjdk/builds
我至少能够找到一些 Fedora 软件包:https: //apps.fedoraproject.org/packages/java-1.8.0-openjdk/builds
So, this suggest people are working on this at least but I have no idea if these packages are stable with centos (or work at all).
所以,这表明人们至少正在研究这个,但我不知道这些软件包是否在 centos 上稳定(或根本没有工作)。
For clarity, I know it is early days with jdk 1.8 and am well aware of the tradeoffs. I'm not looking for build instructions or instruction on how to download Oracle Java from Oracle, which with their lack of a yum repo and license click through is annoying.
为清楚起见,我知道 jdk 1.8 还处于早期,并且很清楚权衡。我不是在寻找有关如何从 Oracle 下载 Oracle Java 的构建说明或说明,由于缺少 yum 存储库和许可证点击,这很烦人。
采纳答案by Jilles van Gurp
It seems Epel now has openjdk 1.8.0_25. So this is no longer an issue. Install sudo yum install java-1.8.0-openjdk-devel if you need the jdk instead of the jre.
看来 Epel 现在有 openjdk 1.8.0_25。所以这不再是一个问题。如果您需要 jdk 而不是 jre,请安装 sudo yum install java-1.8.0-openjdk-devel。