What is difference between JDK,JRE and JVM?

Hi,

As a beginner I want to know the beginning information for learning Java. I am new to Java and after completing my graduation I am going to learn Java make career in software development. I have found the topics like JDK, JRE and JVM while searching the Java beginner material.

What is difference between JDK,JRE and JVM?

Explain me these topics so that I can learn Java.

Thanks

View Answers

October 25, 2016 at 10:08 AM

JVM - Java Virtual Machine

JVM stands for Java Virtual Machine and this is responsible for running the Java compiled (bytecode). Java program is complied into bytecode using JDK compiler and then JVM loads this bytecode, converts into machine specific code and runs on the JVM. Java Virtual Machine is available for most of the Software Platform, and its specific for a platform. JVM is specification and its implementation is called JRE.

JRE - Java Runtime Environment

JRE stands for Java Runtime Environment and it?s the implementation of JVM. To run a java program you need JRE to run the Java code.

JDK - Java Development Kit

JDK stands for Java Development Kit and it is combination of JDK and JRE. JDK is used to compile Java program and JRE which comes with JDK is used to run the Java program.

Thanks









Related Tutorials/Questions & Answers:
Advertisements