Computer Science, asked by xxxgrr, 6 months ago

Can you run Java class file without Java virtual machine? Why??

Answers

Answered by coolaayesha
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 madhu865
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