Java Compile Process

Java Virtual Machine (JVM) is responsible for compiling java source files into bytecode files (.class suffix).

# Compile source into bytecode
javac HelloWorld.java 

# Run Bytecode in JVM, JIT compiler will compile down to native binary on demand
java HelloWorld

java-compilation-1 java-compilation-2