use JAVA_OPTS instead of java_opts.