summaryrefslogtreecommitdiff
path: root/extra/source/java/profile.d/jdk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/java/profile.d/jdk.sh')
-rwxr-xr-xextra/source/java/profile.d/jdk.sh4
1 files changed, 4 insertions, 0 deletions
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"