I've created my first from-scratch plugin. I've called it SublimePMD. It initially just did PMD checking of java files (hence the name), but it now does a javac compile with the XLint flag set true.
It highlights errors and warnings in the current view, and displays them all in a separate view. I like to dock this view below my two work panes, using origami. If you don't like the view, you can also just turn it off in settings.
So, if you're doing java development! You can install it with the package manager. github here: github.com/justinfoote/SublimePMD.git
I'd love feedback about it, or bug reports, or pull requests, or whatever.
This is my first post, but I've trolled around quite a bit in figuring out how to write a sublime plugin, so I owe some thanks to all of you for the info.