Programming





What is the difference between JVM, JRE and JDK?

What is the difference between JVM, JRE and JDK?


by Administrator | 30-Mar-2020
Java

Tags:  Java Virtual Machine  Java Runtime Environment And Java Development Kit

Share: 


JVM (Java Virtual Machine)

JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides a runtime environment in which java byte code can be executed. It is a process running in the machine virtually. The task of JVM is to provide the support to execute java application and to manage the resources that are required for the execution of the application.

JRE (Java Runtime Environment)

JRE is the collection of things required to run a compiled Java program. It consists of java interpreter (JVM), native libraries, java class libraries etc. It provides an environment that will be used in executing a Java application. If you only need to run a Java program then only JRE is required. Companies who ask others to develop their applications only need JRE because they are not doing the development on their own.

JDK (Java Development Kit)

JDK is bundle of Software Development Kit (SDK) that can be use to develop and compile Java based software. JDK contains of various development tools like the JRE, Java source compilers, bundling and deployment tools, debuggers, development libraries, etc. The developers who are going to develop the application only need JDK.

jvm-v-jre-v-jdk


Comments:


There are no comments.

Enter a new Comment:










Copyright Šprgrmmng. All rights reserved.