Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
236 views
Welcome To Ask or Share your Answers For Others

1 Answer

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

enter image description here

For Maven projects see this answer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...