JDK-4142914 : The script files java, javac,jre are written in Korn-Shell.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.1.4
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1998-05-27
  • Updated: 1998-06-08
  • Resolved: 1998-06-08
Related Reports
Duplicate :  
Description
The script files ./bin/hotjava and ./runtime/bin/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

Comments
EVALUATION The hotjava script does not use ksh but the java, javac and jre scripts do.
11-06-2004