Thanks for all your replies. Now i remember having installed JRE\lib\ext\tools.jar for TC 3.2. in the past.
Following Jean-Francois' and Donie's hints i repeated this for TC 4.1. with no success. Additinally i installed javac.exe at JRE_HOME\bin and tools.jar in any lib-directory i've found ... again, no success. Following Ralph's suggestion about Tomcat/bin/setclasspath.[sh|bat] i realized that also the java debugger jdb.exe has to be in JRE\bin. Apart from the fact that SUN gives no explicit permission for redistribution of jdb.exe (in contrary to javac.exe and tools.jar), i would not expect its presence as mandatory. (at least in a production environment :-) So i commented the corresponding line out and Tomcat runs fine. I don't know much about jdb.exe and hope this works as long as i don't start Tomcat in debug mode. I'll watch out (also concerning Jean-Francois' hint about the Admin tool) May thanks for all suggestions, Wolfgang > -----Original Message----- > From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 5:40 PM > To: Tomcat Users List > Subject: Re: AW: Catalina doesn't like JRE, but works fine with JDK > > > The Admin tool that comes with Tomcat contains a lot of JSP > and use Struts. > > -- Jeanfrancois > > > -----Original Message----- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 4:49 PM > To: Tomcat Users List > Subject: AW: Catalina doesn't like JRE, but works fine with JDK > > > I don't have tomcat 4.10 at hand, but have a look at > bin/setclasspath.[sh|bat] to see the requirements > for the JAVA_HOME. > > In tomcat 4.0.3 it was just the existence of > $JAVA_HOME/bin/java. (Under linux/unix this > file is also checked for readability) > > > -----Original Message----- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 4:48 PM > To: Tomcat Users List > Subject: AW: Catalina doesn't like JRE, but works fine with JDK > > > Nevertheless tomcat should run with the JRE unless > tomcat doesn't have to compile jsp's at runtime. > (if you don't use jsp's or use just precompiled jsp's). > > > -----Original Message----- > From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 3:59 PM > To: Tomcat Users List > Subject: Re: Catalina doesn't like JRE, but works fine with JDK > > > Actually, Jasper (the JSP compiler) use classes that comes > with the JDK > and are not included with the JRE. Specifically, it uses the > tools.jar > file included with the JDK. > > -- Jeanfrancois > > > -----Original Message----- > From: Donie Kelly [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 3:28 PM > To: 'Tomcat Users List' > Subject: RE: Catalina doesn't like JRE, but works fine with JDK > > > Tomcat needs the JDK to compile JSP pages. The JRE does not > include the > compiler. > > Donie > > > > > -----Urspr�ngliche Nachricht----- > > Von: Wolfgang Stein [mailto:[EMAIL PROTECTED]] > > Gesendet: Mittwoch, 11. September 2002 15:29 > > An: [EMAIL PROTECTED] > > Betreff: Catalina doesn't like JRE, but works fine with JDK > > > > Pointing JAVA_HOME to JDK for Tomcat 4.1.10 works fine, > > setting JAVA_HOME to JRE gives the error message: > > > > "The JAVA_HOME environment variable is not defined correctly" > > > > I found the message often in tomcat-users list but > > in the context of misspellings. > > > > what makes the difference between JDK and JRE for Tomcat 4.1.10 ? > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
