Update JAVA_OPTS setting.