DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26558>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26558 Misleading error message from setclasspath.sh if Java SDK not installed Summary: Misleading error message from setclasspath.sh if Java SDK not installed Product: Tomcat 4 Version: 4.1.27 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This caused some confusion until we realized that the bin/jdb directory was missing. Suggested diff $ diff setclasspath.sh setclasspath.sh.new 20,22c20,21 < if [ ! -r "$JAVA_HOME"/bin/java -o ! -r "$JAVA_HOME"/bin/jdb -o ! - r "$JAVA_HOME"/bin/javac ]; then < echo "The JAVA_HOME environment variable is not defined correctly" < echo "This environment variable is needed to run this program" --- > if [ ! -r "$JAVA_HOME"/bin/java ]; then > echo "Error: The JAVA_HOME/bin/java directory is missing." 24a24,34 > > if [ ! -r "$JAVA_HOME"/bin/jdb ]; then > echo "Error: The JAVA_HOME/bin/jdb directory is missing. Check SDK." > exit 1 > fi > > if [ ! -r "$JAVA_HOME"/bin/javac ]; then > echo "Error: The JAVA_HOME/bin/javac directory is missing. Check SDK." > exit 1 > fi > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]