java snippets should use sun code conventions; added syntax; pathogen installation