I'm on Ubuntu 18.04 with default-java -> java-1.11.0-openjdk-amd64/.
java -version shows:
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)
I already did an
apt upgrade and
apt-upgrade, but the java version is still 10.
How can I safely upgrade my Java installation to JDK 11 GA? If I have to add a repository, which one should I use? Do I have to uninstall the existing JDK first?
How can I then make the new Java version the default-java?