"Java Virtual Machine : A Java Virtual Machine (JVM) is a set of computer software programs and data structures which use a virtual machine model for the execution of other computer programs and scripts. The model used by a JVM accepts a form of computer intermediate language commonly referred to as Java bytecode. This language conceptually represents the instruction set of a stackoriented, capability architecture. Java Virtual Machines operate on Java bytecode, which is normally (but not necessarily) generated from Java source code; a JVM can also be used to implement programming languages other than Java. For example, Ada source code can be compiled to Java bytecode, which may then be executed by a JVM. JVMs can also be released by other companies besides Sun (the developer of Java) -- JVMs using the ""Java"" trademark may be developed by other companies as long as they adhere to the JVM specification published by Sun (and related contractual obligations). The JVM is a crucial component of the Java Platform. Because JVMs are available for many hardware and software platforms, Java can be both middleware and a platform in its own right — hence the expression ""write once, run anywhere."" The use of the same bytecode for all platforms allows Java to be described as ""compile once, run anywhere"", as opposed to ""write once, compile anywhere"", which describes cross-platform compiled languages. The JVM also enables such unique features as Automated Exception Handling which provides 'root-cause' debugging information for every software error (exception) independent of the source code. The JVM is distributed along with a set of standard class libraries which implement the Java API (Application Programming Interface). The virtual machine and API have to be consistent with each other and are therefore bundled Source: http://in.docsity.com/en-docs/Internet_Application_developement__Essay__Lecture_notes__VINOD"
Add a comment
to see other 6 answers