Ensure it works for proper Java version and set locale for Javadoc.