Created: 2023-08-22 21:54
Status: #concept
Subject: Programming
Tags: Compiler Linking Java JavaScript

Bytecode

They are object code, similar to C's .o files, which an Interpreter can convert into Binary Machine Language in order to be ran by the computer.

Java Compilation & Execution Steps

  1. We write our code with Java into .java Source Code files.
  2. We use the JDK Compiler to transform our code into .class Bytecode.
  3. The Java Virtual Machine interprets the .class Bytecode and translates the instructions to the current system's CPU Architecture's Binary Machine Language.
  4. The code is executed.

Java Compilation Steps.png

References