Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the Java 7 updates for OpenJDK?

Tags:

java

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.

Will/are updates available for 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.

Thanks

Marc

like image 581
Marc Avatar asked Dec 19 '11 13:12

Marc


People also ask

How do I update OpenJDK?

You can update OpenJDK by using the archive. This is useful if the OpenJDK administrator does not have root privileges. Remove the existing symbolic link of the generic path to your JDK or JRE. Install the latest version of the JDK or JRE in your installation location.

How often is OpenJDK updated?

OpenJDK and Eclipse OpenJ9 provide a new feature release every six months, and a maintenance/security update based upon each active release every three months. The release dates for those from the OpenJDK project are the Tuesdays closest to the 17th of January, April, July and October.

Is JDK 7 still supported?

Oracle is set to discontinue extended support for the platform at the end of July 2022. With the cessation of official Extended Support, Java 7 goes into Sustaining Support mode as defined by the Oracle Lifetime Support Policy.


2 Answers

I'm going to respond to my own question here to synthesize all my findings and the answers by @Agemen and @Kowser above.

  • OpenJDK is a reference implementation and does not change unless the spec changes
  • 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 will not provide any compiled or packaged updates. In fact, OpenJDK provided binaries for the initial release just as a convenience.
  • It is the responsibility of third party OS/distributors to compile and package Java. E.g. RedHat and Ubuntu
  • No third party has yet released updates for Java 7
  • These third parties typically use IcedTea to do the compilation and packaging, but IcedTea itself does not do so. 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

  • Oracle JDK has updates (including security fixes) that no OpenJDK package has. This makes using anything other than Oracle JDK result in poorer security
  • Oracle JDK can no longer be packaged distributed by third parties (e.g. 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!

like image 169
Marc Avatar answered Oct 17 '22 07:10

Marc


I may be wrong, but I think sources can be retrieved with mercurial on a different repository. It seems to be dedicated from the one linked by Peter Lawrey in a comment on the question. The addrees is 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...

To answer the question, I'm not sure that the OpenJDK sites are supposed to propose any packaged version of the 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. As it has become the reference implementation, and is actively maintained Oracle, I can't see why it should be different.

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. But once again, I may miss something obvious :-p

EDIT 2 : I've fixed the link - you know have the link to the repo of all the sources, not only the 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...).

like image 28
Agemen Avatar answered Oct 17 '22 07:10

Agemen