Member-only story
What Is JDK,JRE And JVM In Java World?
Although the information is available almost everywhere on Google from many Java experts around the world but let me try to explain in the simplest and easy way possible.
What is JDK,JRE, JVM In Java world?
let’s understand the acronyms first.
- JDK- Java development kit.
2. JVM- Java virtual machine.
3. JRE- Java runtime environment.
Meaning-
JDK- provides an environment to build, compile and run your applications using Java programming language.
As it’s a kit, it should have some contents, right…so what it has?
JDK — JRE + development tools
Explanation- JDK consists of JRE and some development tools such as compiler debugger, Java modules, Java doc, configuration files, executables files, etc.
JRE — JVM + some libraries
Explanation- JRE- Java runtime environment which consists of JVM and some libraries set which are used during runtime. To run your Java code, you should have JRE installed on your machine.
Explanation-JVM
JVM- Java Virtual machine — as the term suggests, it provides a virtual environment to execute…