What is JVM, JRE and JDK

JVM 

  • Java Virtual Machine
  • Converts byte code to machine specific code
  • Platform dependent
  • Supports memory management, garbage collection, security etc
  • Customizable.  Min and Max memory can be customized
  • Provides a generic interface not based on underlying OS and Machine

JRE

  • Java Runtime Environment
  • JRE = JVM + Java  Standard  ClLass  Libraries (Math, lang etc) + Runtime Libraries
  • Need JRE for executing a Java Program

JDK

  • Java Development Kit
  • Contains tool to develop Java Programs, compile , AppletView etc
  • Contains JRE to run the Java Programs
  • Compiler converts Java code to Byte Code
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Cheat Sheet To JAVA Latest Technology

%d bloggers like this: