diff options
-rw-r--r-- | pages/jdk.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pages/jdk.md b/pages/jdk.md new file mode 100644 index 0000000..b74ecfd --- /dev/null +++ b/pages/jdk.md @@ -0,0 +1,22 @@ +<!-- +title: jdk 11 +description: Using JDK 11 +author: gbmor +--> + +# jdk 11 + +To use JDK 11 for development, you will need to make the following additions +to your `~/.kshrc` file: + +``` +export PATH=/usr/local/jdk-11/bin:$PATH +export JAVA_HOME=/usr/local/jdk-11 +``` + +Afterwards, you may call `java`, `javac`, etc as expected. + +JDK 1.8.0 is also available by replacing `jdk-11` in the above two lines +with `jdk-1.8.0` + +[back](/) |