summaryrefslogtreecommitdiff
path: root/development/openjdk8/profile.d
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2016-08-10 23:21:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:19 +0700
commit25f95cf14706ee9a9ae54b752e3f00c74f3d7a3d (patch)
tree7073d600e9db22896b8be1eab134e564663e120a /development/openjdk8/profile.d
parent17746666ddca609ceea64b258ec77d97f521a628 (diff)
downloadslackbuilds-25f95cf14706ee9a9ae54b752e3f00c74f3d7a3d.tar.gz
development/openjdk8: Added (Open Implementation of JDK).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/openjdk8/profile.d')
-rw-r--r--development/openjdk8/profile.d/openjdk8.csh4
-rw-r--r--development/openjdk8/profile.d/openjdk8.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/development/openjdk8/profile.d/openjdk8.csh b/development/openjdk8/profile.d/openjdk8.csh
new file mode 100644
index 0000000000..960fe486b2
--- /dev/null
+++ b/development/openjdk8/profile.d/openjdk8.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib/openjdk8
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/openjdk8/profile.d/openjdk8.sh b/development/openjdk8/profile.d/openjdk8.sh
new file mode 100644
index 0000000000..378a2428d0
--- /dev/null
+++ b/development/openjdk8/profile.d/openjdk8.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib/openjdk8
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"