javac命令

-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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值