Added check for JVM