Working of Java Virtual Machine (JVM)

JVM(Java virtual machine):it is the runtime environment for java programs and it contains the following :
1)class loader
2)byte code verifier
3)jit compiler and interpreter
java is a platform independent language which means it can be operated in any operating system

when you execute a program in C && C++ a .exe file is obtained which contains the source code
and operating system details where as when you execute a program in java a .class file is created which contains the byte code(source code) only.It is the JVM which links this byte code with the operating system details.
The Java Virtual Machine forms part of a large system, the Java Runtime Environment (JRE). Each operating system and CPU architecture requires a different JRE. The JRE comprises a set of base classes, which are an implementation of the base Java API, as well as a JVM. The portability of Java comes from implementations on a variety of CPUs and architectures. Without an available JRE for a given environment, it is impossible to run Java software.

7 comments:

  1. Great Content. Thanks for sharing this valuable information. It will be useful for knowledge seekers.
    Scrum Master Certification In Chennai
    CSM Training In Bangalore
    Scrum Master Certification Online

    ReplyDelete
  2. This post is so usefull and informative.keep updating with more information...
    Why Testing Is Necessary
    Why Testing Is Necessary

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This post is so useful and informative. Keep updating with more information.....
    German Language Classes In Bangalore
    German Courses In Bangalore

    ReplyDelete
  5. This post is so useful and informative. Keep updating with more information.....
    DOT NET Course in Bangalore
    Best DOT NET Training Institutes in Bangalore

    ReplyDelete

Please Provide your feedback here