javac — Java Compiler


/usr/java/bin/javac [-classpath path][-d directory][-depend] 
  [-O][-verbose] ... 
/usr/java/bin/javac_g [-classpath path][-d directory][-depend] 
  [-deprecation] [-encodingencoding-name][-g][-Jjavaoption][-nowarn] 
  [-O][-verbose] ... 


The javac command compiles Java source code into Java bytecodes that can then be interpreted by the java(1) interpreter.

Java source code must be contained in files with file names that end in the .java extension. If the class is public or is referenced from another source file, the file name must be constructed from the class name, as classname .java.

For every class defined in ...

Get Solaris™ 7 Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.