Add java code highlighting

Largely based on the cpp file.

(I already committed the copyright waiver: 0ea7fadac7b2fe8cd98cfb819c31ba619fd445f3)