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 an class?
Tell us something about set interface.
Explain about sets?
What is the purpose of the file class in java programming?
What are the differences between checked exception and unchecked exception?
Is null a keyword in java?
Can I import same package/class twice?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is procedure overloading?
Why arraylist is not synchronized in java example?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Why char array is favored over string for the storage of passwords?
What is structure of java heap? What is perm gen space in heap?
Is map ordered in java?
What are the steps that are followed when two computers connect through tcp?