Difference between JDK, JRE, JVM

Answer Posted / tarun

JDK : JDK contails JRE and JVM both. JDK is required to
complie. JDK contains of many .exe supporting files and
javac, javap, java,javaw, javaws ,all these are helping to
compile the java programs. If we have to compile our own
written java program JDK should be define in our classpath.
after compilation it converts the code into the bytecode.

JRE : JRE is needed for run time environment. It contains JVM.

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 ?    35 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does || mean in code?

545


How java is similar to c?

586


Difference between concurrent hashmap and hashtable and collections

566


Is c better than java?

545


What is difference between this and super keyword?

517






What is the difference between the direct buffer and non-direct buffer in java?

543


What is t in parametric equations?

545


What is the best way to findout the time/memory consuming process?

556


Differentiate between nested and inner class in java.

559


Does java allow default arguments?

592


What does localhost mean?

500


What does bitwise or mean?

569


What do you mean by formatting?

547


What Is Composition?

583


Can you start a thread twice in Java?

633