OS Manuals

/usr/lib/jvm/java-1.7-openjdk/bin/apt

IcedTea distribution of OpenJDK 7 (UNSUPPORTED)

From openjdk-7 7.321.2.6.28-r11 (os), captured 2026-11-05 by running apt --help (exit 2). permalink

apt: invalid flag: --help
Usage: apt <apt and javac options> <source files>
where apt options include:
  -classpath <path>          Specify where to find user class files and annotation processor factories
  -cp <path>                 Specify where to find user class files and annotation processor factories
  -d <path>                  Specify where to place processor and javac generated class files
  -s <path>                  Specify where to place processor generated source files
  -source <release>          Provide source compatibility with specified release
  -version                   Version information
  -help                      Print a synopsis of standard options; use javac -help for more options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system
  -A[key[=value]]            Options to pass to annotation processors
  -nocompile                 Do not compile source files to class files
  -print                     Print out textual representation of specified types
  -factorypath <path>        Specify where to find annotation processor factories
  -factory <class>           Name of AnnotationProcessorFactory to use; bypasses default discovery process
See javac -help for information on javac options.


warning: The apt tool and its associated API are planned to be
removed in the next major JDK release.  These features have been
superseded by javac and the standardized annotation processing API,
javax.annotation.processing and javax.lang.model.  Users are
recommended to migrate to the annotation processing features of
javac; see the javac man page for more information.
Options (14)
OptionDescriptionSource
-classpath pathSpecify where to find user class files and annotation processor factorieshelp
-cp pathSpecify where to find user class files and annotation processor factorieshelp
-d pathSpecify where to place processor and javac generated class fileshelp
-s pathSpecify where to place processor generated source fileshelp
-source releaseProvide source compatibility with specified releasehelp
-versionVersion informationhelp
-helpPrint a synopsis of standard options;help
-XPrint a synopsis of nonstandard optionshelp
-J flagPass <flag> directly to the runtime systemhelp
-A key[=valueOptions to pass to annotation processorshelp
-nocompileDo not compile source files to class fileshelp
-printPrint out textual representation of specified typeshelp
-factorypath pathSpecify where to find annotation processor factorieshelp
-factory className of AnnotationProcessorFactory to use;help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.