I don't think you can, you can do it in Netbeans javac -help did not reveal the -xint option but there might be a few options there you could use for example -deprecation, it might be that is uses the -xint behaviour by default as there is a -nowarn option.
Dale Carnegie:<br />"Most of the important things in the world have been accomplished<br />by people who have kept on trying when there seemed to be no hope at all."
After the : the following are allowed (in JDK 6): all cast deprecation divzero empty unchecked fallthrough path serial finally overrides -cast -deprecation -divzero -empty -unchecked -fallthrough -path -serial -finally -overrides none
You can see this for yourself by just typing "javac -X"
I wanted to use 'unused' too. The warning is available in Eclipse and it seems to point me right to where the bugs are. I can use Eclipse, but there are students, using BlueJ, who I thought could get the 'unused' warning.
Is there is an IDE somewhere between the complexity of BlueJ and Eclipse that will give students the warnings that they need (such as 'unused'), but not have such a learning curve as Eclipse.
Maybe this thread should be moved to the forum on IDEs.
subject: Xlint Compiler Warnings from the Command-Line