We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim ~/.zsh_rc
# Java export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) export JAVA_9_HOME=$(/usr/libexec/java_home -v9) # Default for Java 8 export JAVA_HOME=$JAVA_8_HOME alias java9='export JAVA_HOME=$JAVA_9_HOME' alias java8='export JAVA_HOME=$JAVA_8_HOME'
java8
java9
java -version
The text was updated successfully, but these errors were encountered:
推荐使用sdkman哈
Sorry, something went wrong.
赞,很棒地解决了痛点
kingcos
No branches or pull requests
Solution
vim ~/.zsh_rc
(这里使用的是 BashShell,其他 Shell 自行替换)java8
/java9
java -version
Extension
The text was updated successfully, but these errors were encountered: