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

36 lines
824 B
Plaintext

# $RCSfile: java13-32,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.3 (JDK/JRE) 32bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java131
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