summaryrefslogtreecommitdiffstats
path: root/base/jdk/jdk.sh
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:54:59 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:54:59 +0200
commitb8b6a6d28b0f9c29a44b51873bb3b72aa5955574 (patch)
tree69b24fe263a07694a76d26809dca65d50277bccf /base/jdk/jdk.sh
parentfd415126e0198d2cc4dddd53020b202194f15d65 (diff)
downloadnutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.gz
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.bz2
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.xz
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.zip
Ajout de jdk#6u14-1
Diffstat (limited to 'base/jdk/jdk.sh')
-rw-r--r--base/jdk/jdk.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/base/jdk/jdk.sh b/base/jdk/jdk.sh
new file mode 100644
index 000000000..48ec6753e
--- /dev/null
+++ b/base/jdk/jdk.sh
@@ -0,0 +1,21 @@
+# Begin /etc/profile.d/jdk.sh
+
+# Set JAVA_HOME directory
+JAVA_HOME=/opt/jdk
+
+# Adjust PATH
+pathappend ${JAVA_HOME}/bin PATH
+
+# Auto Java CLASSPATH
+# Copy jar files to, or create symlinks in this directory
+AUTO_CLASSPATH_DIR=/usr/lib/classpath
+pathprepend . CLASSPATH
+for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
+ pathappend $dir CLASSPATH
+done
+
+export JAVA_HOME CLASSPATH
+unset AUTO_CLASSPATH_DIR
+unset dir
+
+# End /etc/profile.d/jdk.sh