You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/06 19:17:34 UTC
DO NOT REPLY [Bug 17666] -
Error encountered during installation of Tomcat 4.1.18 on W2k Professional Ed.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17666>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17666
Error encountered during installation of Tomcat 4.1.18 on W2k Professional Ed.
maxpoon@graduate.hku.hk changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Error encountered during |Error encountered during
|installation of Tomcat 4.1.8|installation of Tomcat
|on W2k |4.1.18 on W2k Professional
| |Ed.
Version|4.1.8 |4.1.18
------- Additional Comments From maxpoon@graduate.hku.hk 2003-03-06 18:17 -------
First, sorry that the Tomcat version is actually 4.1.18 (not LE) instead of 4.1.8.
Second, as mentioned, I have set JAVA_HOME to point to the JDK and checked that:-
%CATALINA_HOME%\bin\setclasspath.bat will actually include the corresponding
%JAVA_HOME%\lib\tools.jar in the CLASSPATH so there should be no need to set
CLASSPATH separately. However, I was still getting the enclosed error, i.e.:-
"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"
So, instead of working on the JAVA_HOME problem, I copied
%JAVA_HOME%\lib\tools.jar (containing the class file for
<com.sun.tools.javac.Main> into %CATALINA_HOME%\common\lib so it resides with
other catalina 'common' jar files, stop Tomcat (could not stop normally but need
to right-click on tomcat.exe from the Windows Task Manager Process listing, and
then chose 'Debug'), and then restart Tomcat and eventually have it working
apparently.
Hope it will continue to work smoothly. This is my installation experience on
Tomcat 4.1.18 on Win2K Professional.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org