QuickDevGuide

Home › Java

Installation & Setup — Java

To develop Java, you need the Java Development Kit (JDK), which includes the compiler (javac), the runtime (JRE/JVM), and development tools. Eclipse Temurin (OpenJDK) is the community favorite for being free and open-source. Step 1: Download the JDK from Adoptium (Temurin) or Oracle. Choose your OS — Windows (.msi/.exe), macOS (.pkg — x64 for Intel, aarch64 for Apple Silicon), Linux (package manager e.g., sudo apt install openjdk-25-jdk). Run the installer and enable "Add to PATH" / "Set JAVAHOME". Step 2: Configure Environment Variables. On Windows: search "Edit system environment variables" → Environment Variables → create JAVAHOME pointing to your JDK path → add %JAVAHOME%\bin to Path. On macOS/Linux: add export JAVAHOME and export PATH=$JAVAHOME/bin:$PATH to /.zshrc or /.bashrc. Step…

Key Takeaways