Are the env vars User variables for your account or system variables? Take a look at this:

1. Click Start, then RIGHT click on My Computer.
2. Choose Properties from the pop-up menu
3. Click the Advanced tab in the System Properties window.
4. Click on the Environment Variables button
5. The resulting window has two halves. The top is the user's environment, the bottom is the system.

The System variables should include JAVA_HOME. CLASSPATH need not be set or can be set to something unrelated to tomcat.

--David

Randy Paries wrote:

unfortuntaly i have to setup tomcat on windoze.
i have it working on tons of linux boxs, and this has been a royle
pain. Ok enough whinning.

so when i try to display a jsp is get the error
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


in the tomcat monitor i have "Use default" selected

in the XP env vars i have
CLASSPATH = C:\Program Files\Java\jdk1.5.0_04\lib
JAVA_HOME = C:\Program Files\Java\jdk1.5.0_04

so what have i missed

Thanks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to