2 Minutes To Code (β Version)

'javac' command - 2 minute tutorial

How to compile multiple java packages

To compile multiple packages, you need to use a combination of unix command find and xargs.

First, get a list of classes using unix command find.

And then , pass this list to unix command xargs for compilation.

The option -d of the javac command is discussed in the next page.