Fix Java Virtual Machine or JVM not found error