Dear Friends, I am having a problem using Tomcat in Windows 98.I am using Apache Tomcat 4.1.34 and I am getting the following error on starting Tomcat:- Syntax error The JAVA_HOME environment variable is not defined This environment variable is needed to run this program Using CATALINA_BASE: D:\Program Files\apache-tomcat-4.1.34 Using CATALINA_HOME: D:\Program Files\apache-tomcat-4.1.34 Using CATALINA_TMPDIR: D:\Program Files\apache-tomcat-4.1.34\temp Using JAVA_HOME: Invalid switch - -DJAVA.ENDORSED.DIRS=
The autoexec.bat file has the following content- SET Path=e:\Oracle\Ora81\bin;"C:\PROGRA~1\ORACLE\JRE\1.1.7\BIN";%PATH%;"C:\PROGRA~1\MICROSOFT SQL SERVER\80\TOOLS\BINN\";C:\MSSQL7\BINN;set JAVA_HOME=D:\j2sdk1.4.2 set PATH="%PATH%;%JAVA_HOME%\bin" set CATALINA_HOME=D:\Program Files\apache-tomcat-4.1.34 Please suggest how to go about it. Regards, Rahul --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut.