Difference between JDK JRE and JVM

 Difference between JDK JRE and JVM


Difference between JDK JRE and JVM


Before Learning Java, it is noteworthy to understand the difference between JDK, JRE, and JVM.


JVM(Java Virtual Machine)

1. It is known as a virtual machine because it doesn't exist physically.

2. It is platform Dependent.

JVM Features

1. Load Code

2. Verify Code

3. Execute Code

4. Provide Runtime Environment


JVM
JVM (Java Virtual Machine)


JRE(Java Runtime Environment)

1. It contains JVM and implements the Runtime Environment provided by JVM through a set of libraries and other files.

2. It is platform Dependent.

JRE = JVM + set of Libraries (.jar files) + other file.


JRE
JRE (Java Runtime Environment)

JDK (Java Development Kit)

1. It contains JRE and various other developer tools like the compiler, interpreter, java document generator, etc. which are, useful in java application development.

2. It is platform Dependent.

JDK = JRE + Developer tools


JDK
JDK (Java Development Kit)




Java Quiz


1 comment:

  1. Lucky Club Casino Site - Live and Online Gambling
    Lucky Club is the UK's number one casino, offering a wide luckyclub.live variety of games, slots, live games and jackpots. Enjoy over 1600+ slots and table games and

    ReplyDelete

For Query and doubts!

Powered by Blogger.