Fixed error when no JAVA_OPTS are not set