Last active
September 23, 2022 17:48
-
-
Save dianaarnos/65ddcf7df1487f9093fa54f6f474655e to your computer and use it in GitHub Desktop.
Switch between different java versions installed on Ubuntu Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo update-alternatives --config java | |
sudo update-alternatives --config javac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment