JDK vs JRE vs JVM
JDK vs JRE vs JVM
JDK (Java Development Kit) | JRE (Java Runtime Environment) | JVM (Java Virtual Machine) | |
---|---|---|---|
Definition | Development toolkit for Java | Runtime environment for Java | Abstract machine to run Java bytecode |
Components | JRE + development tools (compiler, etc.) | JVM + core libraries | Bytecode interpreter, JIT compiler |
Usage | Writing, compiling, debugging Java apps | Running Java applications | Executing Java bytecode |