summaryrefslogtreecommitdiff
path: root/development/adoptopenjdk/adoptopenjdk.sh
diff options
context:
space:
mode:
authorSukma Wardana <sukma.wardana@mail.com>2018-10-27 02:01:52 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-10-27 02:17:03 +0100
commite9757d81ade3794fc355361e4b7558243f82a385 (patch)
treeb7b0b6b2bdc328cb713fa4892cb8605581191ea5 /development/adoptopenjdk/adoptopenjdk.sh
parentdefaf59a36456e6b64d7dacc2f1eac10d72a117f (diff)
downloadslackbuilds-e9757d81ade3794fc355361e4b7558243f82a385.tar.gz
development/adoptopenjdk: Added (Open Implementation of JDK).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/adoptopenjdk/adoptopenjdk.sh')
-rw-r--r--development/adoptopenjdk/adoptopenjdk.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/development/adoptopenjdk/adoptopenjdk.sh b/development/adoptopenjdk/adoptopenjdk.sh
new file mode 100644
index 0000000000..fce9d71069
--- /dev/null
+++ b/development/adoptopenjdk/adoptopenjdk.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib64/adoptopenjdk@MAJORVER@
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"