is the command "java" the JVM?
java
Solution
A java file is compiled into a class file, which is a bunch of java bytecode. The JVM is the thing that can execute java bytecode.
`java` is a command line tool that is part of a java runtime environment (JRE) that knows how to start a java virtual machine, load and execute your class file.
Problem
whenever they say run a .class file in JVM. do they mean with the command "java" in the terminal. or can you click on it to open it?