** Description changed:
+ [Impact]
+
+ * Netbeans has a "Depends: default-jdk | java8-sdk" even though it requires
OpenJDK 11 to run.
+ * If a user has openjdk-8-jdk installed, the above Depends will be satisfied
but he won't be actually able to run it.
+ * The Depends clause should be updated to "Depends: default-jdk |
java11-sdk".
+
+ [Test Case]
+
+ With no OpenJDK installed:
+ 1. Install openjdk-8-jdk
+ 2. Install netbeans
+ 3. Verify that openjdk-11-jdk and default-jdk will be installed as well.
+
+ [Regression Potential]
+
+ * This moves Netbeans dependency to a (required) newer JDK. This could
+ cause some side-effects to a user that had openjdk-8-jre/-jdk installed
+ and expected that to be the default 'java' binary. In that situation,
+ installing netbeans will cause the default-jdk (ie. openjdk-11-jdk) to
+ be installed alongside openjdk-8, but the 'java' binary will now come
+ from openjdk-11. For such users the workaround is to run update-java-
+ alternatives.
+
+
+ [Original report]
I just had netbeans 10 pushed to my Ubuntu 18.04 workstation.
For netbeans 8.1 I was using openjdk-8 and did not have openjdk-11
installed so I didn't have to manage the versions. Netbeans 10 seems to
require class file version 55.0. Dependencies should probably be changed
on the netbeans package to reflect that. I think the issue is:
Depends: default-jdk | java8-sdk
This probably needs to be:
Depends: default-jdk
Or something more specific.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825604
Title:
Netbeans 10 requires openjdk-11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/1825604/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs