How can i to add -Xlint:unchecked option or any javac option in Eclipse? this is strange there is no obvious way to do that in eclipse.
Thanks in advance
First, go to the Preferences window. If you're running Windows or Linux, it'll be under the 'Window' menu, if you're using Mac OSX it'll be under the 'Eclipse' menu. Then go to Java -> Compiler -> Errors / Warnings -> Generic Types
and you'll see three options for compiler warnings / errors on unchecked types and operations. Chang them from error or warning to ignore.