Enable syntax highlighting for Java snippet.