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.