Add configuration options for the java plugin.
Prefer standard library charset constant over Guava.