about summary refs log tree commit diff stats
path: root/pages
diff options
context:
space:
mode:
authorgbmor <ben@gbmor.dev>2020-04-15 23:25:02 -0400
committergbmor <ben@gbmor.dev>2020-04-15 23:25:02 -0400
commit20c52953a131edec67679f286b8003d0d4149472 (patch)
treed0fcc925d93f4ee123b80e0ec5245c374e0ee36f /pages
parent27a28d751da8001f0b14e675e218a323559a7449 (diff)
downloadwiki-20c52953a131edec67679f286b8003d0d4149472.tar.gz
setting up environment to use jdk11/8
Diffstat (limited to 'pages')
-rw-r--r--pages/jdk.md22
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](/)