Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this


  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. Week Target Achieved 1 30 21 2 30 22 3 Typing Speed
  3. 3. SANILA.P 9745709377
  4. 4. Java Virtual Machine JVM is an execution engine that runs compiled Java byte code
  6. 6. • JDK is a set of tools for developing Java applications. • Java Run-time Environment helps in running the programs. • JVM interprets Java programs and allows them to run on any platform • JIT is a module,which helps in compiling certain parts of byte code into the machine code for higher performance.
  7. 7. 8 How does JVM work? • A Java program is written • The program is compiled • A class file is produced containing bytecodes • The bytecodes are interpreted by the JVM • The JVM translates bytecodes into native machine code Compiler Java Virtual Machine Native Machine Code public class HelloWorld { public static void main(String args[ ]) { System.out.println(“Hello World!”); } } Source Code Class File Bytecodes
  8. 8.  When JRE is installed it contains JVM and JIT and the class libraries  When JDK is installed it also contains the JRE, JVM and JIT apart from the compiler, debugging tools.
  9. 9. comparison between jvm ,jre and jdk 1) JRE and JDK come as installer while JVM are bundled with them. 2) JRE only contain environment to execute java program but doesn’t contain other tool for compiling java program. 3) JVM comes along with both JDK and JRE and created when you execute Java program by giving “java” command
  10. 10. Just In Time Compiler JIT is a module inside the JVM which helps in compiling certain parts of byte code into themachine code for higher performance. Note that only certain parts of byte code will be compiled to the machine code, the other parts are usually interpreted and executed
  11. 11. If this presentation helped you, please visit our page and like it. Thanks in advance. | |