summaryrefslogtreecommitdiff
path: root/development/openjdk8/profile.d
diff options
context:
space:
mode:
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"