Oops that needs to be LS_JAVA_OPTS and not JAVA_OPTS.