You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/07 17:27:42 UTC

DO NOT REPLY [Bug 17776] New: - JAVA_HOME variable must not include /jre

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=17776>.
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=17776

JAVA_HOME variable must not include /jre

           Summary: JAVA_HOME variable must not include /jre
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bill@axo.com


The j2sdk installation instructions state that the JAVA_HOME variable must 
point to the jre directory. This is almost true. The JAVA_HOME variable must 
point to the folder CONTAINING the jre directory. For example, I had
JAVA_HOME=/usr/java/j2sdk1.4.1_02/jre
and got the failure message
# $CATALINA_HOME/bin/startup.sh
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
#
This was solved by changing the JAVA_HOME variable to:
JAVA_HOME=/usr/java/j2sdk1.4.1_02

I set the CATALINA_BASE to
CATALINA_BASE=/u/tomcat/bases/`logname`
and this went well, but I found that I needed to create folders
/u/tomcat/bases/root   /u/tomcat/bases/root/logs   /u/tomcat/bases/root/temp
for proper operation of catalina.

The documentation describes the need to accurately set JAVA_HOME but does not 
give any hints as to what to set it to. Perhaps some examples would help us 
monkeys out here?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org