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 are data types in programming?
What is keyword auto for?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Is Constructor possible in abstract class in java ?
What does the string method compareto () do?
What are the benefits of java?
What is meant by data hiding/encapsulation?
Can constructor be static or final?
When does a class need a virtual destructor?
How java uses the string and stringbuffer classes?
Why can't we use static class instead of singleton?
What is square root in java?
what is the difference between preemptive scheduling and time slicing? : Java thread
Can we define static methods inside interface?
How to access arraylist elements in java?