Re: configuring tomcat on XP as a service
Hi, 03May2005 @ 22:45 Greg Baynham thusly spake However, I have set the environment variables JAVA_HOME and PATH to both reference my installation of the JSDK. I have rebooted, but still get the Do the env var paths have spaces? Since I had a problem with that on windows once, I've made sure that all subsequent installations had no spaces. How about CATALINA_HOME? Could help, kind regards, Luke -- ._ :| .| |.|/.|_ :|__.|_|.|\.|_ :0421 276 282. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: configuring tomcat on XP as a service
Greg Baynham [EMAIL PROTECTED] wrote: I'm getting tripped up trying to get tomcat to run JSP code when it's installed as a service. when I access a JSP page I get this error: root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK However, I have set the environment variables JAVA_HOME and PATH to both reference my installation of the JSDK. I have rebooted, but still get the error. specifics: tomcat 5.0.28 windows XP home JAVA_HOME=C:\j2sdk1.4.2_06\bin PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Pro gram Files\Common Files\Adaptec Shared\System;%JAVA_HOME% JAVA_HOME should point to the very directory the jdk is installed into. Set the JAVA_HOME=C:\j2sdk1.4.2_06 You might also want to update your PATH so that it contains %JAVA_HOME%\bin Your env variables should look like that then: JAVA_HOME=C:\j2sdk1.4.2_06 PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Progr am Files\Common Files\Adaptec Shared\System;%JAVA_HOME%\bin This should make it work. cheers, /dd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
configuring tomcat on XP as a service
I'm getting tripped up trying to get tomcat to run JSP code when it's installed as a service. when I access a JSP page I get this error: root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK However, I have set the environment variables JAVA_HOME and PATH to both reference my installation of the JSDK. I have rebooted, but still get the error. specifics: tomcat 5.0.28 windows XP home JAVA_HOME=C:\j2sdk1.4.2_06\bin PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;%JAVA_HOME% Any help would be appreciated, GRB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]