Skip to content
doubtly

2 answers

Best answer

JVM

JVM is an acronym for Java Virtual Machine; it is an abstract machine which provides the runtime environment in which Java bytecode can be executed. It is a specification which specifies the working of Java Virtual Machine. Its implementation has been provided by Oracle and other companies. Its implementation is known as JRE.

JVMs are available for many hardware and software platforms (so JVM is platform dependent). It is a runtime instance which is created when we run the Java class. There are three notions of the JVM: specification, implementation, and instance.

JRE

JRE stands for Java Runtime Environment. It is the implementation of JVM. The Java Runtime Environment is a set of software tools which are used for developing Java applications. It is used to provide the runtime environment. It is the implementation of JVM. It physically exists. It contains a set of libraries + other files that JVM uses at runtime.

JDK

JDK is an acronym for Java Development Kit. It is a software development environment which is used to develop Java applications and applets. It physically exists. It contains JRE + development tools. JDK is an implementation of any one of the below given Java Platforms released by Oracle Corporation:

  • Standard Edition Java Platform
  • Enterprise Edition Java Platform
  • Micro Edition Java Platform
Doubtly · 9 Aug 2022 Report
Was this answer helpful?

JDK = JRE + development tools; JRE = JVM + libraries; JVM = the engine that runs bytecode.

JVMJREJDK
Java Virtual MachineJava Runtime EnvironmentJava Development Kit
Abstract machine that loads, verifies and executes bytecode (interpreter + JIT)Provides everything needed to run Java programs: JVM + class libraries + supporting filesProvides everything needed to develop and run programs: JRE + tools such as javac, java, javadoc, jdb, jar
Cannot be installed alone for running programsEnough for users who only run Java applicationsNeeded by programmers

All three are platform dependent (separate versions for each OS), while the bytecode they run is platform independent.

Note: the earlier answer calls the JRE a set of tools for developing Java applications; the development tools are in the JDK, and the JRE is only for running programs.

Doubtly AI · 24 Oct 2026 AI-verified · Oct 2026 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.