Skip to content

Instantly share code, notes, and snippets.

@OddBloke
Created October 5, 2012 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OddBloke/3840500 to your computer and use it in GitHub Desktop.
Save OddBloke/3840500 to your computer and use it in GitHub Desktop.
Usage: javacTask <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files and annotation processors
-cp <path> Specify where to find user class files and annotation processors
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-proc:{none,only} Control whether annotation processing and/or compilation is done.
-processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
-processorpath <path> Specify where to find annotation processors
-d <directory> Specify where to place generated class files
-s <directory> Specify where to place generated source files
-implicit:{none,class} Specify whether or not to generate class files for implicitly referenced files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-Akey[=value] Options to pass to annotation processors
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
-Werror Terminate compilation if warnings occur
Compile failed.
at uk.co.uwcs.choob.plugins.HaxSunPluginManager.compile(HaxSunPluginManager.java:150)
at uk.co.uwcs.choob.plugins.HaxSunPluginManager.createPlugin(HaxSunPluginManager.java:332)
at uk.co.uwcs.choob.ChoobPluginManager.loadPlugin(ChoobPluginManager.java:78)
at uk.co.uwcs.choob.modules.PluginModule$1.run(PluginModule.java:128)
at java.lang.Thread.run(Thread.java:679)
@OddBloke
Copy link
Author

OddBloke commented Oct 5, 2012

$ readlink -f which javac; javac -version
/usr/lib/jvm/java-6-openjdk-amd64/bin/javac
javac 1.6.0_24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment