• Post Reply Bookmark Topic Watch Topic
  • New Topic

javac option  RSS feed

 
Rao Kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen ":" is used in javac command but not sure what it means.
I could not find relevant javac references to explain this feature.

Thanks, rK

>javac -classpath ../../tomcat/common/lib/j2ee.jar:classes:. -d classes src/proj1/myServ.java
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rao Kumar:
I have seen ":" is used in javac command but not sure what it means.
I could not find relevant javac references to explain this feature.

Thanks, rK

>javac -classpath ../../tomcat/common/lib/j2ee.jar:classes:. -d classes src/proj1/myServ.java


In that code you posted, : is not a feature of javac, it is a directory seperator on a *nix file system.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!