ecj-bootstrap1
Manual page for jdt compiler
Usage
jdtc <options>
<source
files>
Overview
JDT Compiler is command version of Java compiler for eclipse. jdtc has basic java compiler options like SUN's javac.
Note: this manual page is out of date; please call the compiler with -help for the current documentation.
Options
-helpdisplay a help message
-versioncompiler version number
-classpath<dir 1>;<dir 2>;...;<dir P>
-d<dir> destination directory (if omitted no package directory structure is created)
-
-d none -
no classfile is generated
-target <ver> classfile target setting (1.1 or 1.2, default is 1.1)
-1.3set compliance level to 1.3
-1.4set compliance level to 1.4 (default)
-1.5set compliance level to 1.5
-1.6set compliance level to 1.6
-source<ver> assertions toggle (1.3 or 1.4, default is 1.3 in -1.3 mode and 1.4 in -1.4 mode)
-nowarnno warning (equivalent to '-warn:none')
-warn: <level> set warning level (e.g. '-warn:unusedLocals,deprecation')
- constructorName
-
warn method with constructor name
- packageDefaultMethod
-
warn attempt to override package-default method
- deprecation
-
warn usage of deprecated type or member
- maskedCatchBlocks
-
warn hidden catch block
- unusedLocals
-
warn on unused local variable (never read)
- unusedArguments
-
warn on unused method argument (never read)
- unusedImports
-
warn on unused imports
- syntheticAccess
-
warn when performing synthetic access for innerclass
- assertIdentifier
-
warn occurrence of 'assert' used as identifier
-deprecation equivalent to -warn:deprecation. -g[:<level>] debug attributes level
-
-g -
all debug info ('-g:lines,vars,source')
|
no debug info |
|---|---|
|
selective debug info |
-preserveAllLocals code gen preserve all local variables (for debug purpose)
-noImportErrorno errors for unresolved imports
-encodingspecify default source encoding format (custom encoding can also be specifed on a per file basis by suffixing each input source file/folder name with '[encoding]')
-log <filename> specify a log file
-proceedOnErrorkeep compiling when error, dumping class files with problem methods
-verboseprint accessedprocessed compilation units
-referenceInfocompute reference info
-progressshow progress (only in-logmode)
-timedisplay speed information
-noExitdo not call System.exit(n) at end of compilation (n=0 if no error)
-repeat<n> repeat compilation process <n> times (perf analysis)