The script files java, javac,jre are written in Korn-Shell. This will cause problems.
Suppose you use C-shell as your current shell. Suppose you set environment variable ENV as ~/.kshrc , and there set environment variable CLASSPATH, JAVA_HOME in .kshrc.
Hazard: No matter how you set CLASSPATH,JAVA_HOME in you current environment or in your application shell script, THEY BOTH ARE INVALID WITH NO INFOMATION GIVEN. it is the seting in .kshrc that really effects.
Suggestion:rewrite these scripts in Bourne Shell. It's easy and don't no much changes would be taken.
wli@prc, 5/21/98
Suppose you use C-shell as your current shell. Suppose you set environment variable ENV as ~/.kshrc , and there set environment variable CLASSPATH, JAVA_HOME in .kshrc.
Hazard: No matter how you set CLASSPATH,JAVA_HOME in you current environment or in your application shell script, THEY BOTH ARE INVALID WITH NO INFOMATION GIVEN. it is the seting in .kshrc that really effects.
Suggestion:rewrite these scripts in Bourne Shell. It's easy and don't no much changes would be taken.
wli@prc, 5/21/98
- duplicates
-
JDK-4093577 LD_LIBRARY_PATH got munched executing javac script (not the wrapper)
- Closed