3 ms·
A java virtual machine runs java byte code. It makes sense because the compiler emits code for a machine that is an abstract concept, not something that physica
by mrfredward 8y ago
A java virtual machine runs java byte code. It makes sense because the compiler emits code for a machine that is an abstract concept, not something that physically exists, and the virtual machine executes this bytecode.
In typical use of a C compiler, you get code for the target processor, i.e. x86. In theory, you don't have to worry about the underlying hardware, so you could say you are programming for some abstract machine that runs C code, but it is much less meaningful than saying java has a virtual machine.