Bug 222568

Summary: [new port] java/openjdk9: New upstream release
Product: Ports & Packages Reporter: Roger Leigh <rleigh>
Component: Individual Port(s)Assignee: freebsd-java mailing list <java>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: KOT, emaste, flo, freebsd, glewis, java, jhyphenkeck, lapo, michael.osipov, mmpestorich, nevans, pi, rleigh, swills, vvd, webmaster
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Roger Leigh 2017-09-24 18:56:02 UTC
OpenJDK builds for Linux have been released, though the sources for it are not obvious.  An openjdk9 and openjdk-jre port would be wonderful.

http://jdk.java.net/9/ with hg sources at http://hg.openjdk.java.net/jdk9; there's likely a source tarball but I haven't found the magic URL for that yet (if there is one; maybe it's mercurial only now?  I'm still looking)

Happy to assist with the packaging and testing work.
Comment 1 Greg Lewis freebsd_committer 2017-09-24 19:17:28 UTC
I don't believe that a source tarball is available.

Porting for this is still ongoing, no ETA yet.
Comment 2 Michael Osipov 2017-10-21 17:02:53 UTC
Oracle has restructured the autoconf m4 macros and there is no valid toolchain for BSD. This is going to be a lot of effort...
Comment 3 Greg Lewis freebsd_committer 2017-10-21 21:28:12 UTC
The toolchain part is pretty easy to fix.

You can also see some of the progress at http://hg.openjdk.java.net/bsd-port/jdk9
Comment 4 Michael Osipov 2018-02-20 17:54:58 UTC
(In reply to Greg Lewis from comment #3)

Does this still make sense if Java 10 is coming in a month? Java 9 is a short-lived release anyway.
Comment 5 Greg Lewis freebsd_committer 2018-03-04 17:43:04 UTC
My personal opinion is that it would make the most sense to focus on the mainline of the upstream, which will become Java 11.  That is the next release that will receive long term support.  Java 10 will also be short lived.  Work on mainline can likely be back ported once its working.
Comment 6 Michael Osipov 2018-03-04 18:04:48 UTC
(In reply to Greg Lewis from comment #5)

Fully agree.
Comment 7 VVD 2018-05-22 17:56:26 UTC
Any news?
Comment 8 Nick Evans 2018-09-05 18:22:59 UTC
(In reply to Greg Lewis from comment #5)

Agreed, any update here? Starting to get pressure to upgrade to openjdk11 (GA on 9/25/18) since there are some significant changes to javax and our devs want to prepare early.
Comment 9 Michael Osipov 2018-09-05 18:31:27 UTC
(In reply to Nick Evans from comment #8)

Why not help if you hav many devs? Grab 11 from upstream and start adapting for BSD. This is what Greg and others have been doing for years.
Comment 11 Kurt Jaeger freebsd_committer 2019-03-13 18:41:05 UTC
Do we need openjdk9 if we have openjdk11 ?
Comment 12 Greg Lewis freebsd_committer 2019-03-13 18:47:23 UTC
Closing this.  It is unlikely that there will ever be a port of openjdk9 unless someone is prepared to work on it.  We now have a port of openjdk11 which is the current long term support release.

Next priorities would be adding missing functionality to that port and forward porting support to openjdk12.