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 static variable?
Why string is a class?
what is use of functional interface in java 8?
What do you mean by flow of struts?
Can you extend main method in java?
Difference between start() and run() method of thread class?
Explain working of call by reference function invoking.
Why is java called java?
What are the differences between throw and throws?
What is a stack class in java ?
What does .equals do in java?
What is the default value of an object reference declared as an instance variable?
What do you understand by overloading and overriding in java?
Similarity and difference between static block and static method ?
how can you take care of mutual exclusion using java threads? : Java thread