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 anti pattern in cyber security?
List out benefits of object oriented programming language?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
How we can generate random numbers in java?
Difference between final and effectively final ?
Can we use synchronized block for primitives?
How do you check if a string contains only numeric digits?
how to handle exceptions in ejb?
What is the use of System class?
In the below example, how many string objects are created?
Write a java program to count the number of words present in a string?
What string is utf8?
Explain differences between checked and unchecked exceptions in java?
What ide should I use for java?
What is printwriter in java?