Yep That works for you Manuel, command is javac -d c:\classes MySource.java.This will make ur MySource.class file to be stored in c:\classes directory. Rob, Is there any properties file kind of thing to store the class files to c:\classes directory with out giving the option -d in javac??.Since i have to specify each and every time while compiling!!!. Thanks, Murali
"Excellence is never an accident; it is always the result of high intention, sincere effort, intelligent direction, skillful execution, and the vision to see obstacles as opportunities"
Murali, if you're working with windows you can create a batch file to run the javac command with the parameters you want. THis saves a lot of typing. You can also do this with a *nix shell script. When even *this* gets too tedious for you because your projects are getting large, it's time to get a real build system. I highly recommend ANT.