Home / Questions / Can Java run on any machine? What is needed to run Java on a computer?
Explanatory Question

Can Java run on any machine? What is needed to run Java on a computer?

👁 7,062 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Java can run on any machine with a JVM. JVM(Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls the main method present in Java code. JVM is a part of the JRE(Java Runtime Environment).