Where can I find the Xlint option in Netbeans?

compiler-errors, java, netbeans

Solution

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

For Ant based projects, 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")

For Maven projects see this answer

Problem

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

Original source

Related problems