Java Essentials: Decoding JDK, JRE, and JVM.

Ruturaj Satish Jadhav
2 min readFeb 9, 2024

--

In previous story we read about what is java..?,why it is used in most of the companies..? and its features. Do you know to run java file or code we need libraries, development kit and virtual machine. Without them it is impossible to run the code. So let see what are these libraries and kit.

Photo by Sincerely Media on Unsplash

What is JDK..?

  • JDK or Java Development Kit is a comprehensive software development kit for Java that includes the JRE, development tools (like compilers and debuggers), and additional libraries.
  • JDK consist of JVM and JRE.
  • It is used by developers to create, compile, and debug Java applications.
  • Without Kit we are not able to run or compile the java code.

What is JRE..?

  • JRE is known as Java Runtime Environment.It is essential component of the JDK.
  • JRE is a software package that includes the JVM, libraries, and other components necessary for running Java applications.
  • It does not contain development tools like compilers. it’s designed for end-users to run Java applications.
  • and one more JVM is part of JRE

What is JVM..?

  • JVM also knowns as java virtual machine it is crucial component of JRE used to execute Java bytecode.
  • It provides a runtime environment for Java applications to run independently on the underlying hardware and operating system.
  • Java Compiler(javac) is used to convert the java file in byte code. Syntax for it is Javac JavaFile.java
  • The extension for byte class is .class
  • When you compile the java file using javac the class file is automatically generated.

In conclusion, we understand the roles of JVM, JRE, and JDK is essential for Java developers. These components work together seamlessly to enable the creation, compilation, and execution of Java applications, making Java a versatile and powerful programming language.

--

--

Ruturaj Satish Jadhav

Hey 👋, I'm Ruturaj. A passionate developer from India. Studying in MIT WPU Pune,Maharashtra.