As Oracle soon starts to charge for some uses of dev-java/openjdk 1.8 maybe Gentoo could add dev-java/openjdk 1.8 too ease transition to openjdk ?
Maybe we could have the -bin openjdk's from https://adoptopenjdk.net/ ? With a USE flag to select HotSpot or OpenJ9
ping ? anyone home ?
Hi. Yes, there are plans to add openjdk8 and *maybe* openj9-jdk as a separate package, not a useflag. I'm working on it, can't say about the dates but probably should land early 2019 right after holidays.
meanwhile, can you check this openj9-jdk-bin ebuild? https://github.com/gentoo/gentoo/pull/10383 still working on source one but bin works for me so far. I'm going to fix small issues with it (nothing critical and push to the tree)
Created attachment 560090 [details] openjdk:8 ebuild Here is my openjdk-bin:8 ebuild Notice the small diff with the in tree :11 one.
Please test and provide feedback here (preferred) or on the PR on github. https://github.com/gentoo/gentoo/pull/10858 I haven't yet tested myself really well, but it builds with icedtea. jbootstrap works, and it can build itself.
Thanks! It would be nice if https://bugs.openjdk.java.net/browse/JDK-8204142 could be backported to java-8 as well. We can see the effects of this bug in openjdk-8
openjdk 8u202-b08 is out now
can't see a release here yet. https://openjdk.java.net/projects/jdk8u/
(In reply to Georgy Yakovlev from comment #9) > can't see a release here yet. > > https://openjdk.java.net/projects/jdk8u/ hmm, I looked at https://adoptopenjdk.net/ and assumed it was in sync with openjdk ?
(In reply to Joakim Tjernlund from comment #10) > (In reply to Georgy Yakovlev from comment #9) > > can't see a release here yet. > > > > https://openjdk.java.net/projects/jdk8u/ > > hmm, I looked at https://adoptopenjdk.net/ and assumed it was in sync > with openjdk ? Thre are more tags at: https://hg.openjdk.java.net/jdk8u/jdk8u I figure these are some sort of releases ?
actually it seems there is new ga tag and it's released indeed, but release page not updated. https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-January/008381.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a5a71b1cb2ac442d5dc06d02da4b41f8aa3164 commit 98a5a71b1cb2ac442d5dc06d02da4b41f8aa3164 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:15:47 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:07:05 +0000 virtual/jdk: add openjdk{,-bin} to virtual Closes: https://bugs.gentoo.org/672058 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> virtual/jdk/jdk-1.8.0-r4.ebuild | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cb8aded1f216eb7aea85e17095f685c3b7f672 commit 84cb8aded1f216eb7aea85e17095f685c3b7f672 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:52:43 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:08:16 +0000 dev-java/icedtea: allow building with openjdk{,-bin}:8 Bug: https://bugs.gentoo.org/672058 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/icedtea/icedtea-3.10.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74977ef710bda41d15f6c741f88c4b119c29df28 commit 74977ef710bda41d15f6c741f88c4b119c29df28 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:22:55 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:07:05 +0000 dev-java/openjdk: add openjdk:8 Bug: https://bugs.gentoo.org/672058 Closes: https://github.com/gentoo/gentoo/pull/10858 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk/Manifest | 8 + dev-java/openjdk/files/generate-cacerts.pl | 358 +++++++++++++++++++++++++++++ dev-java/openjdk/files/openjdk-8.env.sh | 16 ++ dev-java/openjdk/openjdk-8.202_p08.ebuild | 240 +++++++++++++++++++ 4 files changed, 622 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec77d7ae906dd1a80a24790723d4ec735a5f8541 commit ec77d7ae906dd1a80a24790723d4ec735a5f8541 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:20:00 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:02:50 +0000 dev-java/openjdk-bin: add ~amd64 and ~ppc64le openjdk-bin:8 Bug: https://bugs.gentoo.org/672058 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk-bin/Manifest | 2 + dev-java/openjdk-bin/openjdk-bin-8.202_p08.ebuild | 102 ++++++++++++++++++++++ 2 files changed, 104 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52efd6be230adda909f76e6cb6166bc53d38c10 commit e52efd6be230adda909f76e6cb6166bc53d38c10 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:19:22 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:02:49 +0000 dev-java/openjdk-bin: add ~arm64 only openjdk-bin:8 Bug: https://bugs.gentoo.org/672058 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk-bin/Manifest | 1 + dev-java/openjdk-bin/files/openjdk-bin-8.env.sh | 16 ++++ dev-java/openjdk-bin/openjdk-bin-8.191_p12.ebuild | 101 ++++++++++++++++++++++ 3 files changed, 118 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29609d36927b2a8aafa0fd34090ca745c7f6a45b commit 29609d36927b2a8aafa0fd34090ca745c7f6a45b Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:10:21 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:02:48 +0000 profiles: mask gentoo-vm flag for openjdk{,-bin}:8 Bug: https://bugs.gentoo.org/672058 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/base/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c79281f1555e772278e02a6d0b4e72fa9233e0 commit 83c79281f1555e772278e02a6d0b4e72fa9233e0 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-01 08:06:57 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-01 09:02:43 +0000 profiles: Clarify dev-java/openjdk mask on big-endian ppc64 Bug: https://bugs.gentoo.org/672058 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/arch/powerpc/ppc64/64ul/package.mask | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
@gyakovlev I've been unmasking openjdk-11's gentoo-VM USE flag without much problem (admittedly I only use a couple of java packages) and so I tried tracing back to figure out why the USE flag was masked. The best I could find was mention of this bug in the commit message, and that it would be unmasked once it was proven stable in the actual mask file. As such, I was wondering if there was a tracker bug or some list of the problems encountered when using it as a gentoo-vm?
What is the point of this package, when we already have dev-java/icedtea providing OpenJDK with better arch support?
I like the post which you shared here and thanks for that. https://tellthebell.ninja