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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.
javais 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.