Basic Definition Of JDK, JRE and JVM For Beginners With Diagram

What is JDK? What is JRE? What is JRE, Difference between JDK, JRE, JVM., Introduction to JDK, JRE, JVM

1. What is JDK?

Java Development Kit (in short JDK) is Kit which provides the environment to develop and execute (run) the Java program. JDK is a kit (or package) which includes two things.

  • Development Tools (to provide an environment to develop your java programs)
  • JRE (to execute your java program).

JDK = JRE + Development Tools

Note: JDK is only used by Java Developers.

2. Can you name some of java development tools?

Appletviewer: which enable to run java applets.

javac: Java compiler, it converts java source code (.java file) to byte code (.class file).

Java: Java interpreter executes byte code.

Jdb: Java debugger, it helps to find errors in programs.

3. What is JRE?

Java runtime Environment (JRE) is part of JDK.

JRE provides the minimum requirements for executing/develop a Java application. It consists of the Java Virtual Machine (JVM), core classes, and supporting libraries.

JRE = JVM + Library classes

4. What is JVM?

Java Virtual Machine (JVM) is responsible for executing the java program line by line hence it is also known as interpreter.

The JVM is responsible for interpreting Java bytecode (.class file) and translating this into actions (into machine readable form) or operating system calls.

JVM, Java Virtual machine, What is JVM in java, byte code, .class file in java. How does JVM works in java.

2 thoughts on “Basic Definition Of JDK, JRE and JVM For Beginners With Diagram”

  1. Thanks a lot for giving everyone a very terrific chance to discover important secrets from this site. It’s usually so cool and stuffed with a great time for me personally and my office peers to search your website nearly three times every week to see the new stuff you have. And indeed, we are certainly astounded concerning the staggering tricks served by you. Certain 3 facts in this post are in reality the most effective we have ever had.

Leave a Comment

Your email address will not be published.