Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684120 - dev-java/oracle-jdk-bin-11.0.3 bump request
Summary: dev-java/oracle-jdk-bin-11.0.3 bump request
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-22 13:30 UTC by Sebastian Pipping
Modified: 2019-05-17 04:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2019-04-22 13:30:21 UTC
Thank you!
Comment 1 Tomáš Mózes 2019-04-22 14:28:44 UTC
It rather seems they want to remove it.
Comment 2 Red 2019-05-16 23:30:39 UTC
Just a note that Oracle apparently wants you to sign up for an account now before downloading their JDK.

I started using OpenJDK 11 today on my Slackware VPS which runs several Java-based Discord bots and it seems fine.

What actually is holding it back for mainstream Gentoo use? I installed OpenJDK 11 anyway, it runs fine though LibreOffice (the compiled version, not -bin) doesn't seem to recognize the OpenJDK folder as valid.

I can't find any information about what actually doesn't work with OpenJDK 11, other than that the current packages seem to ignore the gentoo-vm USE flag when I add it.
Comment 3 Georgy Yakovlev gentoo-dev 2019-05-16 23:59:59 UTC
(In reply to Red from comment #2)
> 
> What actually is holding it back for mainstream Gentoo use? I installed
> OpenJDK 11 anyway, it runs fine though LibreOffice (the compiled version,
> not -bin) doesn't seem to recognize the OpenJDK folder as valid.
> 
> I can't find any information about what actually doesn't work with OpenJDK
> 11, other than that the current packages seem to ignore the gentoo-vm USE
> flag when I add it.

Yes, creating account is one thing that stops me from bumping it, to download it I have to agree and I don't =)

The reason :11 is non-functional as system java is eclasses and packages.
oversimplified example:
many packages define dependency on java like >=1.5 for example. which will match 11, but it'll fail to build because jdk-11 compiles 1.8+ only

I haven't really looked at it yet deep enough, but there's an effort going of getting rid of many old obsolete java packages in gentoo. so things may improve a bit later.

as a standalone java, just for running jars or even apps it works quite well.
you just have to call it via full path and eselect java-vm does not "see" it (unless you manage to enable gentoo-vm useflag)

so broken means broken with portage.
feel free to use as standalone, it's quite great, especially ZGC.
Comment 4 Tomáš Mózes 2019-05-17 04:37:49 UTC
(In reply to Red from comment #2) 
> I can't find any information about what actually doesn't work with OpenJDK
> 11, other than that the current packages seem to ignore the gentoo-vm USE
> flag when I add it.

This should remove the gentoo-vm USE mask:

mkdir -p /etc/portage/profile
echo "dev-java/openjdk-bin -gentoo-vm" >> /etc/portage/profile/package.use.mask