ludovic.deneuville@ensai.frDefinition
The Java Virtual Machine (JVM) is the runtime environment for Java programs. It acts as an interpreter between Java code and the operating system.
The JVM :
| Component | Purpose |
|---|---|
| JVM | Runs Java bytecode |
| JRE | Contains JVM + libraries to run Java apps |
| JDK | Includes JRE + compiler + dev tools |
| Java | Python | |
|---|---|---|
| Typing | Strongly typed, static | Strongly typed, dynamic |
| Compilation | Compiled into bytecode | Interpreted |
| Performance | Very fast | Slower |
| Syntax | Verbose, requires {} |
Concise, uses indentation |
| Paradigm | Object-oriented | Multi-paradigm |
| Ecosystem | Huge (Spring, Hibernate…) | Large (Django, Flask, Pandas…) |