openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12080
[Bug 1584118] Re: 16.04 incorrectly installs openjdk-9 to satisfy java8-runtime dependency
Thanks for your reply
> Actually, it does work just fine and will install OpenJDK 8
> *if* the user has not installed OpenJDK 9 before (otherwise
> OpenJDK 9 will satisfy the java8|9-runtime dependencies)
I can confirm that this works. However, this introduces another issue
in case the user has installed for example an Oracle JRE, or even an
IBM JRE. In that case, openjdk-8 would unnecessarily be pulled in.
> That is because both OpenJDK 8 and OpenJDK 9 packages provide the
> java8-runtime, but as openjdk-9-jre has a higher version it is the
> "preferred" install.
It is perfectly reasonable for openjdk-9-jre to provide a
java8-runtime, anything else would be incorrect. However, it is very
surprising that it is the "preferred" install simply due to a "higher
version".
It is surprising because openjdk-9 is still in a pre-release version
and is scheduled for release next year [1]. Only when released would
it be the expected behavior.
> The issue I see is that a "Conflicts: java9-runtime-headless,
> java9-runtime" entry will force the user to select either that package
> (in this example, neo4j) OR OpenJDK 9.
Can you recommend a workaround which does not require Conflicts but
still remains compatible with multiple JREs (openjdk, oracle, ibm,
etc)?
[1]: http://openjdk.java.net/projects/jdk9/
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1584118
Title:
16.04 incorrectly installs openjdk-9 to satisfy java8-runtime
dependency
Status in openjdk-9 package in Ubuntu:
Incomplete
Bug description:
Hi,
A user recently reported an issue on our bug tracker stating that our package was pulling in openjdk-9 and subsequently crashed when started. This apparently because openjdk-9 is the default choice for java8-runtime, which is quite surprising.
Now it is technically correct that java9 does provide a java8-runtime,
but java9 isn't even released yet and should definitely not be the
default java8-runtime until that time.
Same bug was reported against puppet here:
https://tickets.puppetlabs.com/browse/EZ-77
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1584118/+subscriptions
References