简体   繁体   English

OpenJDK的Java 7更新在哪里?

[英]Where are the Java 7 updates for OpenJDK?

Oracle has released update 2 for Java 7, while it appears OpenJDK is still on the original build 147 which was released last summer. Oracle发布了针对Java 7的更新2,而OpenJDK似乎仍然是去年夏天发布的原始版本147。

Will/are updates available for OpenJDK? 是否可以获得OpenJDK的更新?

There does seem to be an OpenJDK project just for updates ( http://openjdk.java.net/projects/jdk7u/ ), which mentions they will release updates at the same time as Oracle, but I just can't find anything. 似乎有一个OpenJDK项目仅用于更新( http://openjdk.java.net/projects/jdk7u/ ),它提到他们将在Oracle的同时发布更新,但我找不到任何东西。

Thanks 谢谢

Marc

I'm going to respond to my own question here to synthesize all my findings and the answers by @Agemen and @Kowser above. 我将在这里回答我自己的问题,以综合我的所有发现和@Agemen和@Kowser的答案。

  • OpenJDK is a reference implementation and does not change unless the spec changes OpenJDK是一个参考实现,除非规范发生变化,否则不会更改
  • There is an OpenJDK update project which implements all updates in source ( http://openjdk.java.net/projects/jdk7u/ , source http://hg.openjdk.java.net/jdk7u/jdk7u-dev ) 有一个OpenJDK更新项目,它在源代码中实现所有更新( http://openjdk.java.net/projects/jdk7u/ ,源http://hg.openjdk.java.net/jdk7u/jdk7u-dev
  • OpenJDK will not provide any compiled or packaged updates. OpenJDK不会提供任何编译或打包的更新。 In fact, OpenJDK provided binaries for the initial release just as a convenience. 事实上,OpenJDK为初始版本提供了二进制文件,这只是为了方便起见。
  • It is the responsibility of third party OS/distributors to compile and package Java. 第三方OS /经销商负责编译和打包Java。 Eg RedHat and Ubuntu 例如RedHat和Ubuntu
  • No third party has yet released updates for Java 7 没有第三方发布Java 7更新
  • These third parties typically use IcedTea to do the compilation and packaging, but IcedTea itself does not do so. 这些第三方通常使用IcedTea进行编译和打包,但IcedTea本身并没有这样做。 http://icedtea.classpath.org/wiki/Main_Page http://icedtea.classpath.org/wiki/Main_Page

We now have a combination of things that are making usage of Java really painful in open source server deployment 我们现在有一些组合使用Java在开源服务器部署中非常痛苦

  • Oracle JDK has updates (including security fixes) that no OpenJDK package has. Oracle JDK具有OpenJDK软件包所没有的更新(包括安全修复程序)。 This makes using anything other than Oracle JDK result in poorer security 这使得使用Oracle JDK以外的任何东西导致安全性降低
  • Oracle JDK can no longer be packaged distributed by third parties (eg Ubuntu). Oracle JDK不再能够由第三方(例如Ubuntu)分发。 Now we have to install it by hand or script it, and maintain it, on all our servers. 现在我们必须手动安装它,或者在我们所有的服务器上编写脚本并进行维护。

I just don't get it... 我只是不明白......

Marc


EDIT 编辑

As @Krige pointed out, things seems to have finally kicked into gear with OpenJDK builds available with the latest updates! 正如@Krige指出的那样,事情似乎终于开始了OpenJDK版本的最新更新!

I may be wrong, but I think sources can be retrieved with mercurial on a different repository. 我可能错了,但我认为可以在不同的存储库中使用mercurial检索源。 It seems to be dedicated from the one linked by Peter Lawrey in a comment on the question. 它似乎是由Peter Lawrey在关于这个问题的评论中联系起来的。 The addrees is http://hg.openjdk.java.net/jdk7u/jdk7u-dev addrees是http://hg.openjdk.java.net/jdk7u/jdk7u-dev

I don't know exactly how branches and tags are managed by Oracle and the OpenJDK contributors, but maybe are the first stable released definitely frozen, and a cloned repo is used instead to ensure inclusion of fixes... 我不确切知道Oracle和OpenJDK贡献者如何管理分支和标记,但可能是第一个明确冻结的稳定版本,而是使用克隆的repo来确保包含修复...

To answer the question, I'm not sure that the OpenJDK sites are supposed to propose any packaged version of the JDK. 要回答这个问题,我不确定OpenJDK网站是否应该提出任何打包版本的JDK。 Oracle's infrastructure is made for that, I guess... I may have missed something, but I think the packaged JDK's that are given on the Oracle website is jsut a bundled, compiled version of the OpenJDK. Oracle的基础设施就是为此而设计的,我想......我可能已经错过了一些东西,但我认为在Oracle网站上提供的打包JDK是一个捆绑的OpenJDK编译版本。 As it has become the reference implementation, and is actively maintained Oracle, I can't see why it should be different. 由于它已成为参考实现,并且正在积极维护Oracle,我无法理解为什么它应该是不同的。

EDIT : BTW, I can't find a direct link that I can use to download a packaged OpenJDK on the OpenJDK website, even for the first stable release. 编辑:BTW,我找不到一个直接的链接,我可以用来在OpenJDK网站上下载打包的OpenJDK,即使是第一个稳定版本。 But once again, I may miss something obvious :-p 但是再一次,我可能会错过一些明显的东西:-p

EDIT 2 : I've fixed the link - you know have the link to the repo of all the sources, not only the jdk ;-) 编辑2:我已经修复了链接 - 你知道所有来源的回购链接,不仅仅是jdk ;-)

Moreover, as pointed in a link given in the comments, there are many projects under OpenJDK... So the repo structure is a bit complex, with hg "forests" (that I didn't know before trying to compile OpenJDK 7 by myself...). 而且,正如评论中给出的链接所指出的那样,OpenJDK下有很多项目...所以repo结构有点复杂,有hg“forest”(在我自己编译OpenJDK 7之前我不知道) ...)。

From this blog post , it tries to clarify, it will not be expected to get update for OpenJDK unless specification for Java is revised. 这篇博文中 ,它试图澄清,除非修改Java规范,否则不会期望获得OpenJDK的更新。

From the author's comment, which was given as explanation, is quoted below 作者的评论作为解释,引用如下

We plan to produce Linux and Windows RI binaries from the OpenJDK code base. 我们计划从OpenJDK代码库生成Linux和Windows RI二进制文件。 Technically, only one is needed but traditionally Sun provided more than one to facilitiate for implementors. 从技术上讲,只需要一个,但传统上Sun提供了不止一个来促进实现者。 Note that the RI has a very specific purpose (eg, to serve as the RI) and is generally not updated except when/if the specification is revised. 注意,RI具有非常特定的目的(例如,用作RI)并且通常不更新,除非/如果规范被修改。

To clarify OpenJDK is the RI (Reference Implementation) from Oracle. 澄清OpenJDK是Oracle的RI(参考实现)。

I did not tried for exact information from oracle. 我没有尝试从oracle获取确切信息。 But I am convinced with the blog post. 但我对博客文章深信不疑。


So the thing I can understand: Neither expect any update nor any bug fixes for OpenJDK. 所以我能理解: Neither expect any update nor any bug fixes for OpenJDK.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM