![]() What does the warning mean, and why is it in fact showing both auto and manual mode entries? And why is my jdk11 not in there? There are 2 choices for the alternative java (providing /usr/bin/java).Ġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto modeġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual modeĢ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode Instead I get a warning and the already existing choices: update-alternatives: warning: /etc/alternatives/java has been changed (manually or by a script) switching to manual updates only ![]() However, when I do $ sudo update-alternatives -config java Which returns: update-alternatives: using /opt/jdk-11/bin/javac to provide /etc/alternatives/java (OpenJDK-11) in auto mode ![]() To try out the new features of jdk11 I installed it into /opt/ and want to use it using update-alternatives, like so: sudo update-alternatives -install /etc/alternatives/java OpenJDK-11 /opt/jdk-11/bin/java 1102 ![]()
0 Comments
Leave a Reply. |