Handle extraJavaOpts properly