The JDK is the superset of JRE. JDK has the necessary tools like javac java.exe debugger etc + JRE. But JRE has a particular implementation of JVM.
My assumption is java.exe or the java application launcher is the interpreter (please correct me if I'm wrong). Also, JVM does the interpretation as well.
Finally is the interpreter part of JVM or part of JDK tools? Please explain.
java.exe is neither a JVM nor an interpreter. It is a launcher - a small program typically written in C which does the following:
jvm.dll)main() method using JNIJRE roughly consists of
jvm.dllrt.jarjava.dll, net.dll, nio.dll, awt.dll etc.Now, the Bytecode Interpreter, the Bytecode Verifier, the Class Loader, the JIT compiler, the Garbage Collector and many other cool stuff - are all parts of the Java Virtual Machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With