• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling servlets in DOS (over Tomcat)

 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying do

javac -classpath /Tomcat/Tomcat 5.0/common/lib
servlet-api.jar:classes:. -d classes src/com/example/web/BeerSelect.java

and it's not compiling,why are there so many problems using DOS?
 
Rich Raposa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If that is the exact command you are typing, then you are getting an error because of the spaces in the folder names. Put the folder name in double quotes and that should help a lot.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The slash is missing after "lib/"

and it's not compiling,why are there so many problems using DOS?


are you getting any error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic