JAVA VIRTUAL MACHINE(JVM):
A Java virtual machine is a
program which executes certain other programs, namely those containing Java
bytecode instructions. JVM's are most often implemented to run on an existing operating system, but can also be implemented to
run directly on hardware.
Java Virtual Machine or JVM is a platform independent execution
environment that converts Java byte-code into machine code (binary). To better
understand these (and the advantageous it brings), I would have to introduce to
you a brief history on software engineering. JVM is a stack machine; this makes it simple to generate JVM
code, and makes the JVM code compact.
Why a Java Virtual Machine?
We need a way of
executing Java which is
*
platform independent
*
efficient
* compact (since programs have to be
loaded over the web)
* secure (so a program loaded over the web
can't destroy your machine)
0 comments:
Post a Comment