Modified Java Template.

Changed Java template. This one is of niyaj@.