tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko" <>
Subject Re: Classpath problem
Date Sun, 04 Jan 2009 01:41:44 GMT
2009/1/4  <>:
> Hello.  I am using Tomcat 6.0.18, my Java version is 1.6.0_11 and I  have a
> servlet called  My classpath reads like  this:
> .;C:\Sun\SDK\bin; C:\Sun\SDK\jdk\bin; C:\Tomcat\lib\servlet-api.jar
> I cannot compile in DOS without typing:
> javac -classpath C:\Tomcat\lib\servlet-api.jar
> I cannot understand why I am being required to specify the servlet api when
> I have it in my classpath.

I guess that is because spaces are not allowed in the value.

set CLASSPATH=.;C:\Sun\SDK\bin;C:\Sun\SDK\jdk\bin;C:\Tomcat\lib\servlet-api.jar

or better
set CLASSPATH=.;C:\Tomcat\lib\servlet-api.jar

I do not know why you are adding those bin folders to the classpath.
There are no class files there.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message