Open kebeda opened 5 years ago
Fixed, no extra files from java8 are installed with java11-basic.
Regarding to the PATH, that's also fixed. Notice that Java8 is the system default, so if it is installed directly with its own bundle (java8-basic) or indirectly as part of any other bundle, /usr/bin/java would call java8 binary. To change this behavior, just set the appropriate JAVA_HOME.
export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk
On the other hand, if you only have installed java11-basic bundle, /usr/bin/java java11 binary would be called without extra steps.
Steps to reproduce.
swupd bundle-add java11-basic
cd /usr/lib/jvm/java-1.8.0-openjdk
du -hc
None of these files are needed with Java 11. Also, JAVA_HOME and PATH environment variables are not set.