Installing JDK & IDE
Install the JDK, set JAVA_HOME and PATH, verify versions, and configure an IDE.
What to Install
What you will install
- JDK: Java Development Kit (compiler
javacand tools). - IDE: an editor to write and run code comfortably (IntelliJ or VS Code).
- Command line: verify versions and run simple commands.
After this lesson you will be ready to write and run Java on your machine.
Pick a JDK
Choose a JDK distribution
- Common choices include OpenJDK builds (e.g., Temurin) or Oracle JDK.
- Pick a stable LTS version (e.g., 17 or later).
- Download the installer for your OS (Windows, macOS, Linux).
All provide the same Java language; differences are mostly licensing and packaging.
All lessons in this course
- Introduction to Programming
- Installing JDK & IDE
- Writing First Program