title: Why does Eclipse warn about Java "unused variables" but javac does not?
body: <p>For the same code, Eclipse shows warnings about unused variables, but compiling with "javac" (v1.6) does not. Does Eclipse use a different compiler or parser? How can I get javac to show the same warnings?</p>