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

Which containers use a flowlayout as their default layout in java programming?

512


What is the purpose of main function in java?

539


What is the numeric promotion?

503


What is 16 bits called?

501


What are the differences between graph and tree?

648






Which sorting is best in java?

536


How do you stop a thread in java?

597


why would you use a synchronized block vs. Synchronized method? : Java thread

537


What does sprintf return?

590


What do you understand by overloading and overriding in java?

547


What classes of exceptions may be caught by a catch clause in java programming?

704


What are the advantages of java over C++?

719


What are default methods ?

580


What is nullpointerexception in java?

525


List the different types of classloaders in java.

505