Noeud:Java Command Summary, Noeud « Next »:, Noeud « Previous »:C++ Command Summary, Noeud « Up »:Language Options



Java Command Summary

gcj [options] file1 [[file2] ... [filen]]

Where [options] options can include the following:

-C take the .java file and produce a corresponding .class file. Cannot be used with --main=HelloWorld.
--main=File Specify the name of the .java file to locate the public static void main(String args[]) method as File. Cannot used with -C.
-o file create the executable named file instead of the default a.out. This flag cannot be used in conjuction with -C, because you cannot rename the class file.
-d dir place class files in directory dir. Only used when compiling byte-code using -C.
-v Print verbose output to stdout.
-g Produce debugging information.