Im trying to compile a program but get this error


and when i compile without -xlint i get the following

Note: uses or overided a deprecated API.
Note:Recompile with -Xlint:deprecation for details

compiler flags are case sensitive and need to appear BEFORE any files you are compiling.

iv tried before n after dunnooo

what EXACTLY is your commandline (all spacing, case sensitive, etc. etc.)?

Think it's like he said, it's case sensitive and wants the X capitalized. You can compile without it, but you won't get the warnings.

javac -Xlint