Cover Page by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Appendix A

javac

javac is a Java compiler for compiling Java programs to bytecode. Source files must have a java extension and be organized in a directory structure that reflects the package tree. The results are class files in a directory structure reflecting the package tree.

javac has the following syntax.

javac [options] [sourceFiles] [@argFiles]

where options are command-line options, sourceFiles one or more Java source files, and @argFiles one or more files that list options and source files.

You can pass source code file names to javac in one of two ways:

images List the file names on the command line. This method is suitable if the number of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required