This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've been trying to configure Tomcat and am getting the following error when I call tomcat run You must set JAVA_HOME to point at your jdk installation. My current settings on Win98 (64 meg RM) are Tomcat installed in d:\tomcat JDK in d:\jdk1.3 I have changed DOS environment variable mem to 3072 autoexec.bat contains @C:\PROGRA~1\NORTON~1\NAVDX.EXE /Startup PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;d:\jdk1.3\bin set temp= c:\dos C:\WINDOWS\COMMAND\doskey SET CLASSPATH=.;d:\age of wonders heat program\navbar;%CLASSPATH% SET JAVA_HOME = d:\jdk1.3 SET TOMCAT_HOME = d:\tomcat SET PATH =%PATH%;D:\tomcat I followed a discussion thread http://www.javaranch.com/ubb/Forum7/HTML/001852.html in this forum and also made a CHANGE in tomcat.bat
open the "tomcat" file in notepad.Search for the following paragraph: rem ----- Save Environment Variables That May Change ------------ set _CP=%CP% set _TOMCAT_HOME=%TOMCAT_HOME% set _CLASSPATH=%CLASSPATH% Add the following line: to the above. set JAVA_HOME=C:\jdk1.3 Can anyone help? regards, Jyotsna
Jyotsna: Couple of things I would do...... - i would not mess with tomcat.bat - then, in your dos window, type set java_home see if your java_home is set and verify that its correct. let me know what happens.... regds. - satya
Hi, Am having the same problem, and getting the same �You must set . . � message upon opening tomcat. Tried entering set java_home, exactly as suggested, no caps. Typed this in each directory from C:\: to C:\Program Files\Apache Group\jakarta-tomcat-3.2.1\bin. All I get is the �Syntax error� message.
Is there some suggested/default directory for tomcat? I am using C:\Program Files\Apache Group\jakarta-tomcat-3.2.1
Any suggestions would be greatly appreciated, Connie Lindstrom