By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,779 Members | 1,078 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,779 IT Pros & Developers. It's quick & easy.

Error: Unable to find a javac compiler

P: n/a
I have just upgraded from Tomcat 5.0 to 5.0.27 and when I try to veiw the
website I am getting an error message root cause of "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".

When latest Tomcat was installed it pointed to the JDK directory and
everything seamed to run fine. This is the first time I have personally
upgraded Tomcat and I am sure it is somthing simple.

Where is Java-Home and how do I point it to the JDK?

Any suggestions would be greatly appreciated.

Thanks
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Try and copy
tools.jar to TOMCAT_HOME/common/lib

remko caprio
visit: http://www.szirine.com
Szirine Magazine, literary magazine on world cultures and subcultures
"Fred" <Fr**@hotmail.com> wrote in message news:<aE*****************@news-server.bigpond.net.au>...
I have just upgraded from Tomcat 5.0 to 5.0.27 and when I try to veiw the
website I am getting an error message root cause of "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".

When latest Tomcat was installed it pointed to the JDK directory and
everything seamed to run fine. This is the first time I have personally
upgraded Tomcat and I am sure it is somthing simple.

Where is Java-Home and how do I point it to the JDK?

Any suggestions would be greatly appreciated.

Thanks

Jul 17 '05 #2

P: 1
So this worked for me ... I am just wondering if someone can tell me why it worked... I am confused on why I needed to copy that over.. :confused:
Jul 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.