comparison zshrc-jdk @ 178:51710c7c26c2

jdk 13 is superseeded by jdk 14, use the generic jdk 11 link
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 21 Jul 2020 09:15:13 +0200
parents d84faf4d53ac
children
comparison
equal deleted inserted replaced
177:0eebd05e58ad 178:51710c7c26c2
16 switchJdk "openjdk-bin-8" 16 switchJdk "openjdk-bin-8"
17 } 17 }
18 18
19 openjdk11() { 19 openjdk11() {
20 local new_path=$(removeFromPath "jdk") 20 local new_path=$(removeFromPath "jdk")
21 export JAVA_HOME=/opt/openjdk-bin-11.0.7_p10 21 export JAVA_HOME=/opt/openjdk-bin-11
22 export JAVAC=${JAVA_HOME}/bin/javac 22 export JAVAC=${JAVA_HOME}/bin/javac
23 export JDK_HOME=${JAVA_HOME} 23 export JDK_HOME=${JAVA_HOME}
24 export PATH="${JAVA_HOME}/bin":"${new_path}" 24 export PATH="${JAVA_HOME}/bin":"${new_path}"
25 java -version 25 java -version
26 } 26 }
27 27
28 openjdk13() { 28 openjdk14() {
29 switchJdk "openjdk-bin-13" 29 switchJdk "openjdk-bin-14"
30 } 30 }