tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Cook <>
Subject Re: JAVA_HOME beginner
Date Sat, 27 Aug 2005 15:17:35 GMT

Did you download the windows installer for Tomcat5.x?  Or just Tomcat in 
a zip file.  If you did not get the installer you need to manually set 
JAVA_HOME.  Or go back and download the acuall windows installer, which 
of the two will be much eaier.

I am not sure about XP.  In Win2k you
    1.  Right click on My Computer
    2.  Select Properties
    3.  Click on the "Advanced" tab.
    4.  Click the button labeled "Environmental Variables"
    5.  Look to see if JAVA_HOME under the "System Variables".  If not 
add it.  The syntax for the path has to be dead on perfect.  If is wrong 
at all it will not work.

Also be aware that with windows when you make a change to the 
Environmental varaibles you have to reboot before Windows will see the 

One other thing to check is make sure you downloaded the JDK version 
1.4.2 or newer.  If you downloaded the JRE Tomcat will not be able to run.

ganesan malairaja wrote:
> i am using win XP. tomcat 5.0.xx and jdk1.4_02
> i tried running several jsp pages resturns this errors
> Unable to find a javac compiler;
> is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
> how do i over come this ..pls help
> thx
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Brian Cook
Digital Services Analyst
Print Time Inc.

View raw message