Can you run Java class file without Java virtual machine? Why??
Answers
Answered by
0
You can't run Java program without JVM. JVM is responsible in running a Java program, but the only file that can be executed by JVM is Java bytecode, a compiled Java source code.
Answered by
3
Answer:
you cant run java class file without java virtual machine
Explanation:
REASON:-
With Java, you can compile source code on Windows and the compiled code (bytecode to be precise) can be executed (interpreted) on any platform running a JVM. So yes you need a JVM but the JVM can run any compiled code, the compiled code is platform independent. ... The machine has to have the C compiler.
Similar questions
English,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Math,
6 months ago
Hindi,
10 months ago