Skip to content

Instantly share code, notes, and snippets.

@fabiojose
Last active November 21, 2018 16:12
Show Gist options
  • Save fabiojose/c33b546b129703ffea2eb6feeb19ca29 to your computer and use it in GitHub Desktop.
Save fabiojose/c33b546b129703ffea2eb6feeb19ca29 to your computer and use it in GitHub Desktop.
Update the java alternative at Debian
update-alternatives \
--install /usr/bin/java \
java \
/usr/lib/jvm/java-9-openjdk-amd64/bin/java \
100
update-alternatives --config java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment