Rajendra  Singh
Whats the Difference between JVM and JDK?
By Rajendra Singh in Web Development on Sep 25 2012
  • eswari
    Nov, 2012 9

    (JDK)Java Developer Kit contains tools needed to develop the Java programs, and JRE to run the programs. The tools include compiler (javac.exe), Java application launcher (java.exe), Appletviewer, etc.
    The Java Virtual Machine (JVM) executes the Java programs bytecode (.class file). The bytecode is generated after the compilation of the program by the Java compiler.
    Joomla Web Designer

    • 0
  • Rajendra  Singh
    Sep, 2012 25

    JDK (Java Development Kit)

    Java Developer Kit contains tools needed to develop the Java programs, and JRE to run the programs.
    Compiler converts java code into byte code. Java application launcher opens a JRE, loads the class, and invokes its main method

    JVM (Java Virtual Machine)

    As we all aware when we compile a Java file, output is not an 'exe' but it's a '.class' file. '.class' file consists of Java byte codes which are understandable by JVM. Java Virtual Machine interprets the byte code into the machine code depending upon the underlying operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking, etc… JVM is platform dependent.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS