How do i recompile my java program with -Xlint as indicated by the java compiler. I am using netbeans 8.1 beta version.
Note: E:\NetBeansProjects\Project21\MyCode\src\mycode\MyCode.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. I am using netbeans gui to run the program file.
What should i do to remove this warning?
You can add that compiler option like this:
Properties
page.Build --> Compiling
Additional Compiler Options
-Xlint:unchecked
in the textbox.