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