summaryrefslogtreecommitdiff
path: root/extra/source/java/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/java/profile.d')
-rwxr-xr-xextra/source/java/profile.d/jdk.csh4
-rwxr-xr-xextra/source/java/profile.d/jdk.sh4
-rwxr-xr-xextra/source/java/profile.d/jre.csh4
-rwxr-xr-xextra/source/java/profile.d/jre.sh4
4 files changed, 16 insertions, 0 deletions
diff --git a/extra/source/java/profile.d/jdk.csh b/extra/source/java/profile.d/jdk.csh
new file mode 100755
index 00000000..3a1ec7be
--- /dev/null
+++ b/extra/source/java/profile.d/jdk.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib/java
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
diff --git a/extra/source/java/profile.d/jdk.sh b/extra/source/java/profile.d/jdk.sh
new file mode 100755
index 00000000..ed0bc73d
--- /dev/null
+++ b/extra/source/java/profile.d/jdk.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib/java
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
diff --git a/extra/source/java/profile.d/jre.csh b/extra/source/java/profile.d/jre.csh
new file mode 100755
index 00000000..2beb66ec
--- /dev/null
+++ b/extra/source/java/profile.d/jre.csh
@@ -0,0 +1,4 @@
+#!/bin/csh
+setenv JAVA_HOME /usr/lib/java
+setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
+setenv PATH ${PATH}:${JAVA_HOME}/bin
diff --git a/extra/source/java/profile.d/jre.sh b/extra/source/java/profile.d/jre.sh
new file mode 100755
index 00000000..227c15cb
--- /dev/null
+++ b/extra/source/java/profile.d/jre.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export JAVA_HOME=/usr/lib/java
+export MANPATH="${MANPATH}:${JAVA_HOME}/man"
+export PATH="${PATH}:${JAVA_HOME}/bin"