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
What is the use of System class?
What is == mean?
Can we override private method?
Is null keyword in java?
How can constructor chaining be done using this keyword?
Can we assign the reference to this variable?
What is difference between static and final?
What is the different types of functions?
What sorting algorithm does javascript use?
Difference between object instantiation and construction ?
What is the latest version of java?
Can we able to pass objects as an arguments in java?
What is the need of transient variables in Java ?
What is an example of procedure?
Can java hashmap have duplicate keys?