optionally add java_opts