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/09/10 18:26:54 UTC

DO NOT REPLY [Bug 23071] New: - Documentation & error handling re use of 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=23071>.
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=23071

Documentation & error handling re use of JRE

           Summary: Documentation & error handling re use of JRE
           Product: Tomcat 4
           Version: 4.1.27
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ian.sykes@tesco.co.uk


Although the documentation does state that Tomcat needs a full JDK, rather than 
just a JRE, on no less than two occasions, a year apart, I have fallen in to 
the trap of thinking that all I need to install is the JRE. (No Java 
development would be carried out on the machines to which I was installing 
Tomcat.)

When the startup.bat file is executed in such cases, the error handling is 
misleading; an error message states that JAVA_HOME has not been set correctly. 
In fact, JAVA_HOME is quite correct - the problem is that JRE's do not contain 
tools such as javac.exe.

I strongly suggest that semi-conscious ;-) users are protected from this 
pitfall by the addition to the documentation of a prominent but brief 
explanation of why a JRE is insufficient to run Tomcat.

An additional suggestion, in the perhaps unlikely event that you have time to 
hand, would be to correct the error handling.