aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk/profile.d
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2014-05-30 11:49:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-30 21:50:35 +0700
commita133c9d25525a6837b81ae82ec6acdcc83565f6e (patch)
tree64ce6049ffe671753c8c9810ebb43e1f6f40ced9 /development/openjdk/profile.d
parent5ff75504b476b71b29b9301414a044781a4046ce (diff)
development/openjdk: Added (Open Implementation of JDK).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 000000000000..20c186d612cf
--- /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 000000000000..31089684a135
--- /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"