Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Created July 17, 2019 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindwurm/745437c7e60994d1887a77d4074ba24c to your computer and use it in GitHub Desktop.
Save lindwurm/745437c7e60994d1887a77d4074ba24c to your computer and use it in GitHub Desktop.
ubuntu@testing1804:~$ sudo update-alternatives --config java
[sudo] password for ubuntu:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment