Kbase P25968: Does Webspeed need system environment modified for its Java
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/27/2003 |
|
Status: Unverified
GOAL:
Does Webspeed need system environment modified for its Java requirements?
GOAL:
When Webspeed is installed does it hardcode the necessary java environment?
FACT(s) (Environment):
Linux Intel
FACT(s) (Environment):
WebSpeed 3.x
FIX:
The webspeed installation actually tailors java_env script to have JDK and PATH modified to accomodate the java environment present during installation, so users do not have to set system path or JDKHOME for required Java environment.
In $DLC/bin/java_env, following is modified for Linux platform depending where the actual JDKHOME is
"Linux")
THREADS_FLAG=native
JVMARGS="-ms8m ${JVMARGS}"
JDKHOME=/usr2/certor/jdk1.3.1
JREHOME=$JDKHOME
JAVAHOME=$JREHOME
export JAVAHOME
JDKCP=$JDKHOME/lib/tools.jar
JRECP=$JDKCP
VMTYPE=classic
ARCH=i386
LD_LIBRARY_PATH=$JREHOME/lib/$ARCH:$JREHOME/jre/lib/$ARCH:$JREHOME/jre/lib
/$ARCH/${THREADS_FLAG}_threads:$JREHOME/jre/bin:$JREHOME/jre/lib/$ARCH/$VMTYPE:$
LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PROLIBPATH=$LD_LIBRARY_PATH; export PROLIBPATH