envmng/etc/envmng.d/java14
agibert f7d6813e0c - Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options.
- Add and rework many scripts in etc/envmng.d directory...
2009-01-13 13:27:53 +00:00

33 lines
714 B
Plaintext

# $RCSfile: java14,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.4 (JDK/JRE)
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java14
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
export PATH=$(envmng_path_add "$PATH" "$path")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac