FindBugs

I’ve been using a tool called FindBugs for the last few months. Its a great little tool, it finds common coding errors like failing to close ResultSets etc. There is even an Eclipse plugin - so there really is no excuse not to use it.