Created
May 25, 2021 05:53
-
-
Save alaztetik/069e969fb8dd3de4e23e9bee0f043d08 to your computer and use it in GitHub Desktop.
Multiple JVMs on one machine
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
# add following lines to the .bashrc file | |
alias java11='/usr/lib/jvm/java-11-openjdk/bin/java' | |
alias javac11='/usr/lib/jvm/java-11-openjdk/bin/javac' | |
alias java16='/usr/lib/jvm/jdk-16.0.1/bin/java' | |
alias javac16='/usr/lib/jvm/jdk-16.0.1/bin/javac' | |
alias jshell16='/usr/lib/jvm/jdk-16.0.1/bin/jshell' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment