comparison zshrc-jdk @ 155:1a9d4664aafb

add openjdk12
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 08 May 2019 13:17:50 +0200
parents c78e098abad3
children 2f71ba394858
comparison
equal deleted inserted replaced
154:c78e098abad3 155:1a9d4664aafb
29 29
30 local new_path=$(removeFromPath "jdk") 30 local new_path=$(removeFromPath "jdk")
31 export PATH="${JAVA_HOME}/bin":"${new_path}" 31 export PATH="${JAVA_HOME}/bin":"${new_path}"
32 java -version 32 java -version
33 } 33 }
34
35 openjdk12() {
36 export JAVA_HOME=/opt/openjdk-bin-12.0.1_p12
37
38 local new_path=$(removeFromPath "jdk")
39 export PATH="${JAVA_HOME}/bin":"${new_path}"
40 java -version
41 }