在Netbeans中哪里可以找到Xlint选项?

时间:2022-07-02 15:08:34

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

我将得到一个用-Xlint:unchecked重编译的错误。在Netbeans。我在哪里可以找到取消检查的选项?

1 个解决方案

#1


16  

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

您不需要“取消选中”该选项,您需要将-Xlint:unchecked参数添加到传递给Java编译器的参数中。

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")

这是通过项目属性—>构建—>在对话框底部的“附加编译器选项”输入字段中编译完成的(在该字段中它说“例:- xlint:unchecked”)

在Netbeans中哪里可以找到Xlint选项?

#1


16  

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

您不需要“取消选中”该选项,您需要将-Xlint:unchecked参数添加到传递给Java编译器的参数中。

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")

这是通过项目属性—>构建—>在对话框底部的“附加编译器选项”输入字段中编译完成的(在该字段中它说“例:- xlint:unchecked”)

在Netbeans中哪里可以找到Xlint选项?