comparison zshrc-jdk @ 148:238d7d13bce7

use the openjdk-bin ebuild from gentoo
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 23 Oct 2018 17:43:25 +0200
parents d6fba0677bff
children 62c9cbe45942
comparison
equal deleted inserted replaced
147:163ef90dd755 148:238d7d13bce7
15 jdk8() { 15 jdk8() {
16 switchJdk "oracle-jdk-bin-1.8" 16 switchJdk "oracle-jdk-bin-1.8"
17 } 17 }
18 18
19 jdk11() { 19 jdk11() {
20 export JAVA_HOME=/opt/jdk-11+28 20 export JAVA_HOME=/opt/openjdk-bin-11_p28
21 21
22 local new_path=`removeFromPath "jdk"` 22 local new_path=`removeFromPath "jdk"`
23 export PATH="${JAVA_HOME}/bin":"${new_path}" 23 export PATH="${JAVA_HOME}/bin":"${new_path}"
24 java -version 24 java -version
25 } 25 }