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 is the use of arrays tostring () in java?

514


Tell us something about set interface.

557


How java enabled high performance?

582


How to create a base64 decoder in java8?

554


How a variable is stored in memory?

495






How would you use Bubble Sort to sort the number of elements?

578


Can we write any code after throw statement?

601


What is the size of string?

554


how to handle exceptions in ejb?

1867


Does list maintain insertion order java?

535


What is arrays sort in java?

566


What classes of exceptions may be thrown by a throw statement?

524


What is the difference between a scrollbar and a scrollpane?

556


What is a linkedhashmap java?

545


How many bits are in a sentence?

579