The crisp answer which I would typically expect is
- JDK(Java Development Kit) - Contains the JRE and various set of tools used to Compile a Java application (i.e. compiling a .java file to a .class file)
- JRE (Java Runtime Environment) - In the minimum would contain the Java Interpreter, Java API libraries and Java browser plugin. It is required for the execution of Java Programs
- JVM (Java Virtual Machine) - Is a part of JDK (and hence the JRE) which is used for interpreting the .class file to the target machine language code(of the target machine on which the VM is installed i.e. Windows, Linux, Mac etc.) and executes the same.
here is few more differences between JDK , JRE and JVM in Java
ReplyDelete