javac — Java Compiler
Synopsis
/usr/java/bin/javac [-classpath path][-d directory][-depend] [-deprecation][-encodingencoding-name][-g][-Jjavaoption][-nowarn] [-O][-verbose] filename.java ... /usr/java/bin/javac_g [-classpath path][-d directory][-depend] [-deprecation] [-encodingencoding-name][-g][-Jjavaoption][-nowarn] [-O][-verbose] filename.java ...
Description
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.