Your SlideShare is downloading. ×
Jvm
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
73
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. Week Target Achieved 1 30 21 2 30 22 3 Typing Speed
  • 3. SANILA.P sanila222@gmail.com www.facebook.com/ twitter.com/s in.linkedin.com/in/ 9745709377
  • 4. Java Virtual Machine JVM is an execution engine that runs compiled Java byte code
  • 5. JAVA IS DISTRIBUTED INTO TWO PACKAGES
  • 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. 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.  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. 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. 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. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com