|
|
@ -33,10 +33,14 @@ if [[ -d "/usr/local/jdk1.8.0_131" ]]; then |
|
|
|
export JAVA_HOME=/usr/local/jdk1.8.0_131 |
|
|
|
export JAVA_HOME=/usr/local/jdk1.8.0_131 |
|
|
|
export PATH=$PATH:$JAVA_HOME/bin/ |
|
|
|
export PATH=$PATH:$JAVA_HOME/bin/ |
|
|
|
fi |
|
|
|
fi |
|
|
|
if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0" ]]; then |
|
|
|
if [[ -d "$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/" ]]; then |
|
|
|
export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.262+10.openj9-0.21.0 |
|
|
|
export JAVA_HOME=$HOME/.asdf/installs/java/adoptopenjdk-8.0.265+1/ |
|
|
|
export PATH=$PATH:$JAVA_HOME/bin/ |
|
|
|
export PATH=$PATH:$JAVA_HOME/bin/ |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# if [[ -d "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/" ]]; then |
|
|
|
|
|
|
|
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ |
|
|
|
|
|
|
|
# export PATH=$PATH:$JAVA_HOME/bin/ |
|
|
|
|
|
|
|
# fi |
|
|
|
# export JAVA_HOME="$HOME/.jenv/versions/`jenv version-name`" |
|
|
|
# export JAVA_HOME="$HOME/.jenv/versions/`jenv version-name`" |
|
|
|
|
|
|
|
|
|
|
|
if [[ -d "~/.asdf/plugins/java/" ]]; then |
|
|
|
if [[ -d "~/.asdf/plugins/java/" ]]; then |
|
|
|