update-alternatives and default-java symbolic link (on Debian 10 Buster)
by supermario18b from LinuxQuestions.org on (#4S69C)
Hi everyone,
I noticed that when I use the command "update-alternatives" to change the default java version the "default-java" symbolic link in /usr/lib/jvm doesn't change. It still points to the old default java version. Why?
Everything works fine, if I type "java -version" on terminal it shows the desired java version. Only the symbolic link doesn't change.
Shouldn't it change?


I noticed that when I use the command "update-alternatives" to change the default java version the "default-java" symbolic link in /usr/lib/jvm doesn't change. It still points to the old default java version. Why?
Everything works fine, if I type "java -version" on terminal it shows the desired java version. Only the symbolic link doesn't change.
Shouldn't it change?