This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

explain this line javac

 
ankittt agarwala
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
javac -classpath c:\lib\servlet-api.jar;classes;. -d classes src\com\example\web.teaselect.java
i skipped the bold part of command and error ocurred com.example.modell directory not found
does it have any connection with the directory structure,i had written import com.example.modell in coding of teaselect.java actually.....
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Obviously some class you have a dependency on is in that classes directory

By the way, why are you mixing \ and /? You can usually get away with / instead of \ on Windows, but \ is the correct path separator.
 
ankittt agarwala
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually the above line is from third chap of headfirst servelets and jsp.........a little modified according to my directory structure
explain it in a better way...and i have corrected the structure
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic