envmng/etc/envmng.d/java5-64
agibert 726fc27ef5 - Add WAS 6 module,
- Replace old java modules.
2009-01-13 17:05:52 +00:00

36 lines
824 B
Plaintext

# $RCSfile: java5-64,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 5 (JDK/JRE) 64bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java5_64
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac