summaryrefslogtreecommitdiff
path: root/development/openjdk6/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'development/openjdk6/profile.d')
-rw-r--r--development/openjdk6/profile.d/openjdk6.csh4
-rw-r--r--development/openjdk6/profile.d/openjdk6.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/development/openjdk6/profile.d/openjdk6.csh b/development/openjdk6/profile.d/openjdk6.csh
new file mode 100644
index 0000000000..2a4264d8c3
--- /dev/null
+++ b/development/openjdk6/profile.d/openjdk6.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib/openjdk6
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/development/openjdk6/profile.d/openjdk6.sh b/development/openjdk6/profile.d/openjdk6.sh
new file mode 100644
index 0000000000..69d2dd977d
--- /dev/null
+++ b/development/openjdk6/profile.d/openjdk6.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib/openjdk6
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"