- Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options. - Add and rework many scripts in etc/envmng.d directory...
This commit is contained in:
32
etc/envmng.d/java14
Normal file
32
etc/envmng.d/java14
Normal file
@@ -0,0 +1,32 @@
|
||||
# $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
|
||||
Reference in New Issue
Block a user