Where can I find the Xlint option in Netbeans?

前端 未结 1 1384
梦谈多话
梦谈多话 2020-12-15 06:44

I get an error Recompile with -Xlint:unchecked for details. in Netbeans. Where can I find the option to uncheck?

相关标签:
1条回答
  • 2020-12-15 07:10

    You don't "uncheck" that option, you need to add the -Xlint:unchecked parameter to the parameters passed to the Java compiler.

    This is done through Project Properties -> Build -> Compiling in the "Additional compiler options" input field at the bottom of the dialog (where it says "e.g.: -Xlint:unchecked")

    enter image description here

    0 讨论(0)
提交回复
热议问题