summaryrefslogtreecommitdiff
path: root/development/jdk/profile.d
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-08-26 08:11:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-08-26 22:40:58 -0400
commitba08663773dd39ecab52b80fd6499374ee8d99a0 (patch)
tree7862f7b27157065beddb3cc9455bf43ba61319bd /development/jdk/profile.d
parentfe607e8da2bbc944761fb0c68fb545568bcd05dd (diff)
downloadslackbuilds-ba08663773dd39ecab52b80fd6499374ee8d99a0.tar.gz
development/jdk: Added (Java(TM) 2 Platform SE Development Kit)
This is a modified version of Patrick J. Volkerding's java SlackBuild many thanks to him. DO NOT send bug reports to Slackware or Patrick J. Volkerding. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/jdk/profile.d')
-rw-r--r--development/jdk/profile.d/jdk.csh4
-rw-r--r--development/jdk/profile.d/jdk.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/development/jdk/profile.d/jdk.csh b/development/jdk/profile.d/jdk.csh
new file mode 100644
index 0000000000..3a1ec7be8b
--- /dev/null
+++ b/development/jdk/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/development/jdk/profile.d/jdk.sh b/development/jdk/profile.d/jdk.sh
new file mode 100644
index 0000000000..ed0bc73d4d
--- /dev/null
+++ b/development/jdk/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"