# HG changeset patch # User Dirk Olmes # Date 1526212472 -7200 # Node ID e72a98823522b1c00c8a3a9dbe405a32ad453e2e # Parent ca2b58d0a32f10c23c2532bf303c378e00f5ebca update the jdk support module diff -r ca2b58d0a32f -r e72a98823522 zshrc-jdk --- a/zshrc-jdk Fri Mar 09 16:03:11 2018 +0100 +++ b/zshrc-jdk Sun May 13 13:54:32 2018 +0200 @@ -12,30 +12,12 @@ java -version } -ibmJdk5() { - switchJdk "ibm-jdk-bin-1.5" -} - -ibmJdk6() { - switchJdk "ibm-jdk-bin-1.6" -} - -jdk14() { - switchJdk "sun-jdk-1.4" -} - -jdk5() { - switchJdk "sun-jdk-1.5" -} - -jdk6() { - switchJdk "sun-jdk-1.6" -} - -jdk7() { - switchJdk "oracle-jdk-bin-1.7" -} - jdk8() { switchJdk "oracle-jdk-bin-1.8" } + +jdk9() { + export JAVA_HOME=/opt/oracle-jdk-bin-9.0.4 + export PATH="${JAVA_HOME}/bin":"${new_path}" + java -version +} \ No newline at end of file