permaculture playing cards*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes cannot compile with -classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "cannot compile with -classpath" Watch "cannot compile with -classpath" New topic
Author

cannot compile with -classpath

Sefa Urgenc
Ranch Hand

Joined: Jul 25, 2002
Posts: 34
Hi,

It seems that the -classpath option is unable to find the servlet-api.jar file.

I am using Tomcat 5.0 on XP, I get an invalid flag, so I tried to rename the C:\Tomcat 5.0 I get an access denied window.

Thanx in Advance
Navaneetha krishnan
Greenhorn

Joined: Sep 21, 2004
Posts: 26
Hi,

The servlet-api.jar is located in 'tomcat_folder\common\lib'. Renaming the tomcat folder might cause issues. Please try to use the original folder name that you used while installing Tomcat.

Regards,
Navanee
 
wood burning stoves
 
subject: cannot compile with -classpath