SlideShare a Scribd company logo
1 of 2
Download to read offline
Basic Difference between JDK,JRE,JVM in Advance Java Course
JAVA DEVELOPMENT KIT
The Java Development Kit (JDK) is a software used for developing Java programms and applets. It
includes Java Runtime Environment (JRE), an interpreter/loader (Java), a compiler (javac), an
archiver (jar), a documentation generator (Javadoc) and other tools needed in Java development.
JAVA RUNTIME ENVIRONMENT
JRE known for “Java Runtime Environment” and also be written as “Java RTE.” The Java
Runtime Environment provides the minimum requirements for executing a Java application;
JAVA VIRTUAL MACHINE
Java Virtual Mavchine Specification where working of Java Virtual Machine is specified. JVM
Implementation provider is independent to choose the algorithm. Implementation has been provided
by Sun and other companies.
•A implementation is a computer program that meets the requirements of the JVM
specification
•Runtime Instance Whenever you write java command on the command prompt to run the
java class, an instance of JVM is created.
Difference betweem JDK, JRE and JVM
Understand the difference between three phases, consider the following
diagram.
JDK-Java Development Kit known as JDK Kit which provides the environment to develop and
execute Java program. JDK is a package which includes two things as follows
1.Development Tools(to provide an environment to develop your java programs)
2.JRE (to execute your java program).
JRE –Java Runtime Environment is an installation package which provides
environment to only execute the java program(or application)onto your
machine. JRE is only used by them who only wants to run the Java
Programs i.e. end users of your system.
JVM –Java Virtual machine is a very important part of both JDK and JRE
because it is contained or inbuilt in both.Java program you run using JRE or
JDK goes into Java Virtual Machine .JVM is responsible for executing the
java program line by line therefore it is also known as interpreter.

More Related Content

What's hot (20)

JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
 
JVM- Java Virtual Machine
JVM- Java Virtual MachineJVM- Java Virtual Machine
JVM- Java Virtual Machine
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVA
 
QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Jvm Architecture
Jvm ArchitectureJvm Architecture
Jvm Architecture
 
Java Virtual Machine
Java Virtual MachineJava Virtual Machine
Java Virtual Machine
 
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
 
Java byte code presentation
Java byte code presentationJava byte code presentation
Java byte code presentation
 
Java Virtual Machine
Java Virtual Machine Java Virtual Machine
Java Virtual Machine
 
Java architecture
Java architectureJava architecture
Java architecture
 
Jvm
JvmJvm
Jvm
 
Java JVM
Java JVMJava JVM
Java JVM
 
JVM
JVMJVM
JVM
 
Java Class 2
Java Class 2Java Class 2
Java Class 2
 
Java introduction with JVM architecture
Java introduction with JVM architectureJava introduction with JVM architecture
Java introduction with JVM architecture
 
Java Class1
Java Class1Java Class1
Java Class1
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
 

Similar to JDK vs JRE vs JVM (20)

Internal working JVM
Internal working JVMInternal working JVM
Internal working JVM
 
java intro.pptx
java intro.pptxjava intro.pptx
java intro.pptx
 
Java JDK.docx
Java JDK.docxJava JDK.docx
Java JDK.docx
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
 
2. hello java
2. hello java2. hello java
2. hello java
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
Java -lec-1
Java -lec-1Java -lec-1
Java -lec-1
 
Jvm
JvmJvm
Jvm
 
Hello World Program in Java .pdf
Hello World Program in Java .pdfHello World Program in Java .pdf
Hello World Program in Java .pdf
 
Basics of java
Basics of javaBasics of java
Basics of java
 
Java - At a glance
Java - At a glanceJava - At a glance
Java - At a glance
 
Java ppt1
Java ppt1Java ppt1
Java ppt1
 
Learn Java Part 1
Learn Java Part 1Learn Java Part 1
Learn Java Part 1
 
What is-java
What is-javaWhat is-java
What is-java
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
 
JAVA Program Examples
JAVA Program ExamplesJAVA Program Examples
JAVA Program Examples
 
What is java
What is javaWhat is java
What is java
 
java basics.pptx
java basics.pptxjava basics.pptx
java basics.pptx
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java Course In Thane,Mumbai
Java Course In Thane,MumbaiJava Course In Thane,Mumbai
Java Course In Thane,Mumbai
 

More from Preeti Agarwal

The history and future of java programming language
The history and future of java programming languageThe history and future of java programming language
The history and future of java programming languagePreeti Agarwal
 
Garbage collection in java
Garbage collection in javaGarbage collection in java
Garbage collection in javaPreeti Agarwal
 
Air preheater manufacturers
Air preheater manufacturersAir preheater manufacturers
Air preheater manufacturersPreeti Agarwal
 
Air preheater hot air generator manufacturer
Air preheater   hot air generator manufacturerAir preheater   hot air generator manufacturer
Air preheater hot air generator manufacturerPreeti Agarwal
 
Types of air preheaters and its advantages
Types of air preheaters and its advantagesTypes of air preheaters and its advantages
Types of air preheaters and its advantagesPreeti Agarwal
 
Clinical trial terminology
Clinical trial terminologyClinical trial terminology
Clinical trial terminologyPreeti Agarwal
 
Practical and advanced clinical research course exltech
Practical and  advanced clinical research course exltechPractical and  advanced clinical research course exltech
Practical and advanced clinical research course exltechPreeti Agarwal
 
Clinical trial terminology exltech
Clinical trial terminology exltechClinical trial terminology exltech
Clinical trial terminology exltechPreeti Agarwal
 
Practical and advanced clinical research course
Practical and  advanced clinical research coursePractical and  advanced clinical research course
Practical and advanced clinical research coursePreeti Agarwal
 
Cad,catia mechanical design training course
Cad,catia mechanical design training courseCad,catia mechanical design training course
Cad,catia mechanical design training coursePreeti Agarwal
 
Clinical research course and oppertunities clini pharma
Clinical research course and  oppertunities clini pharmaClinical research course and  oppertunities clini pharma
Clinical research course and oppertunities clini pharmaPreeti Agarwal
 
Best clinical research course clini pharma
Best clinical research course clini pharmaBest clinical research course clini pharma
Best clinical research course clini pharmaPreeti Agarwal
 
Mechanical design training course
Mechanical design training courseMechanical design training course
Mechanical design training coursePreeti Agarwal
 
Mechanical design training cae,cad
Mechanical design training cae,cadMechanical design training cae,cad
Mechanical design training cae,cadPreeti Agarwal
 
Mechanical design training cae,cad
Mechanical design training cae,cadMechanical design training cae,cad
Mechanical design training cae,cadPreeti Agarwal
 
Clinical research course-Clini Pharma
Clinical research course-Clini PharmaClinical research course-Clini Pharma
Clinical research course-Clini PharmaPreeti Agarwal
 
Clinical research course
Clinical research courseClinical research course
Clinical research coursePreeti Agarwal
 

More from Preeti Agarwal (17)

The history and future of java programming language
The history and future of java programming languageThe history and future of java programming language
The history and future of java programming language
 
Garbage collection in java
Garbage collection in javaGarbage collection in java
Garbage collection in java
 
Air preheater manufacturers
Air preheater manufacturersAir preheater manufacturers
Air preheater manufacturers
 
Air preheater hot air generator manufacturer
Air preheater   hot air generator manufacturerAir preheater   hot air generator manufacturer
Air preheater hot air generator manufacturer
 
Types of air preheaters and its advantages
Types of air preheaters and its advantagesTypes of air preheaters and its advantages
Types of air preheaters and its advantages
 
Clinical trial terminology
Clinical trial terminologyClinical trial terminology
Clinical trial terminology
 
Practical and advanced clinical research course exltech
Practical and  advanced clinical research course exltechPractical and  advanced clinical research course exltech
Practical and advanced clinical research course exltech
 
Clinical trial terminology exltech
Clinical trial terminology exltechClinical trial terminology exltech
Clinical trial terminology exltech
 
Practical and advanced clinical research course
Practical and  advanced clinical research coursePractical and  advanced clinical research course
Practical and advanced clinical research course
 
Cad,catia mechanical design training course
Cad,catia mechanical design training courseCad,catia mechanical design training course
Cad,catia mechanical design training course
 
Clinical research course and oppertunities clini pharma
Clinical research course and  oppertunities clini pharmaClinical research course and  oppertunities clini pharma
Clinical research course and oppertunities clini pharma
 
Best clinical research course clini pharma
Best clinical research course clini pharmaBest clinical research course clini pharma
Best clinical research course clini pharma
 
Mechanical design training course
Mechanical design training courseMechanical design training course
Mechanical design training course
 
Mechanical design training cae,cad
Mechanical design training cae,cadMechanical design training cae,cad
Mechanical design training cae,cad
 
Mechanical design training cae,cad
Mechanical design training cae,cadMechanical design training cae,cad
Mechanical design training cae,cad
 
Clinical research course-Clini Pharma
Clinical research course-Clini PharmaClinical research course-Clini Pharma
Clinical research course-Clini Pharma
 
Clinical research course
Clinical research courseClinical research course
Clinical research course
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

JDK vs JRE vs JVM

  • 1. Basic Difference between JDK,JRE,JVM in Advance Java Course JAVA DEVELOPMENT KIT The Java Development Kit (JDK) is a software used for developing Java programms and applets. It includes Java Runtime Environment (JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc) and other tools needed in Java development. JAVA RUNTIME ENVIRONMENT JRE known for “Java Runtime Environment” and also be written as “Java RTE.” The Java Runtime Environment provides the minimum requirements for executing a Java application; JAVA VIRTUAL MACHINE Java Virtual Mavchine Specification where working of Java Virtual Machine is specified. JVM Implementation provider is independent to choose the algorithm. Implementation has been provided by Sun and other companies. •A implementation is a computer program that meets the requirements of the JVM specification •Runtime Instance Whenever you write java command on the command prompt to run the java class, an instance of JVM is created. Difference betweem JDK, JRE and JVM Understand the difference between three phases, consider the following diagram. JDK-Java Development Kit known as JDK Kit which provides the environment to develop and execute Java program. JDK is a package which includes two things as follows
  • 2. 1.Development Tools(to provide an environment to develop your java programs) 2.JRE (to execute your java program). JRE –Java Runtime Environment is an installation package which provides environment to only execute the java program(or application)onto your machine. JRE is only used by them who only wants to run the Java Programs i.e. end users of your system. JVM –Java Virtual machine is a very important part of both JDK and JRE because it is contained or inbuilt in both.Java program you run using JRE or JDK goes into Java Virtual Machine .JVM is responsible for executing the java program line by line therefore it is also known as interpreter.