print query string
add java_opts