Created
August 4, 2018 17:35
-
-
Save luizrobertofreitas/41538491465cdafbc3350a513c77b413 to your computer and use it in GitHub Desktop.
Script to change jdk based on update-alternatives
This file contains hidden or 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 | |
alternatives --config java | |
alternatives --config javac | |
alternatives --config javaws | |
alternatives --config jconsole | |
alternatives --config keytool | |
alternatives --config java_home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment