Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does "javac -d" mean when inputted into the command prompt?

 
Ravaa Bal
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm currently using the instructions found at this website regarding Axis2 and Tomcat (http://codediaries.blogspot.com/2009/02/web-services-example-using-axis-2-and.html), but step 3 says the following:

Compile the code using,

..workspace\Axis2TomcatHelloWorld>javac -d web_bin web_src\*.java

With this I have two qestions.

1) What does javac -d mean? I've used 'javac' but the '-d' is new to me.

2) This doesn't compile for me, probably because I haven't set the java classpaths since I normally rely on Netbeans to do it for me. Would it be possible to execute the above command via Netbeans?

Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Entering just "javac" at the command line without any parameters will cause it to print a list of all command line options along with explanations. More extensive Java tool documentation can be found at http://java.sun.com/javase/6/docs/technotes/tools/index.html
 
Ravaa Bal
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah right, thank you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic