On 4/24/19 12:23 AM, Paul B. Henson wrote:
So Oracle java has a crappy license now, and I see on the dev list
they're even talking about removing it from portage. However, openjdk
has no stable version, and the ebuild contains:

if use gentoo-vm ; then
        ewarn "WARNING! You have enabled the gentoo-vm USE flag, making
        this JDK"
        ewarn "recognised by the system. This will almost certainly
        break things."

Which doesn't build confidence as far as using it 8-/. icedtea is pretty
old. What are people doing for java needs currently? Abusing the Oracle
license? Running old icedtea versions? Ignoring the openjdk warning?

The warning in this form is nonsense and only ever applied to JDK > 8,
since ebuilds containing java bits *might* fail due to the module system
since JDK9+, nothing else. There is no notable difference between
oracle-jdk-8, icedtea-8 or openjdk-8 other than IcedTea (being the JDK-8
LTS maintained by RedHat) also containing the (awesome) Shenandoah GC -
which was also merged into the official upstream JDK12.

IcedTea will probably (from my reading on the list) just continue the
3.x series for JDK8 and get a new series 4.x for JDK11 (since it's LTS).
I offered to help with maintenance & testing but for some reason they were
not interested. ¯\(ツ)/¯

It is perfectly "safe" to unmask the gentoo-vm USE flag and set openjdk-bin-8
as system VM. It is also perfectly "safe" to install openjdk-11 in parallel
with said flag enabled as long as you don't set it as system VM or know
what you're doing.

As it happens I was just copying the openjdk-bin-11 ebuild into my local overlay
as openjdk-bin-12 (because I need Shenandoah) with the gentoo-vm flag enabled
and it eselects, integrates and works fine just as well.

hth :)
Holger

Reply via email to