--javamain
Same as "--javaclass" except "--javamain" generates a class with a main method added.
Parent topic:
Using the Java Compiler Options