Difference between JDK, JRE, JVM

Answer Posted / alok kumar ranjan

JRE :- (Java Runtime environment)
It is an implementation of the Java Virtual Machine* which
actually executes Java programs.Java Run Time Environment is
a plug-in needed for running java programs.JRE is smaller
than JDK so it needs less Disk space.JRE can be
downloaded/supported freely from java.com
It includes JVM , Core libraries and other additional
components to run applications and applets written in Java.

JDK :- (Java Development Toolkit)
It is a bundle of software that you can use to develop Java
based applications.Java Development Kit is needed for
developing java applications.JDK needs more Disk space as it
contains JRE along with various development tools.JDK can be
downloaded/supported freely from java.sun.com
It includes JRE, set of API classes, Java compiler, Webstart
and additional files needed to write Java applets and
applications.


JVM : Java Virtual Machine converts the bytecode into user
understandable code. without JVM we cannot run our Java
codes on any system. JVM converts the bytecode got after
compilation into machine level code by understanding the
hardware and operating system combination.

Is This Answer Correct ?    16 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use return in constructor?

471


Can you extend main method in java?

599


Explain the access modifiers for a class, method and variables?

628


What is tcp and udp?

577


What is meant by collection in java?

524






Can a main method be overloaded?

547


What is use of inner class in java?

493


Explain parallel processing in java8?

607


What is e in java?

522


What do you mean by chromounits in java8?

505


Can we nested try statements in java?

587


Define nashorn in java8.

546


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1700


What is __ init __ functions?

522


What is java objectoutputstream?

517