The website should automatically detect your operating system
Download the latest LTS version (currently JDK 21)
Choose the x64 installer for your operating system
2.2 Install the JDK
Run the installer you downloaded
When you see the "Custom Setup" screen (shown below), leave all default options:
The default options are perfect for our needs - no need to change anything on this screen.
Click "Next" and complete the installation
Step 3: Creating Your First Project
3.1 Project Setup
Open IntelliJ IDEA Ultimate
Click "New Project"
Verify that "Eclipse Temurin 21.0.5" (or similar version) is selected as the JDK
For "Build system", select "IntelliJ"
Name your project "JavaOOP2025"
Choose a location for your project
Make sure "Add sample code" is checked
You can leave "Create Git repository" unchecked (we can add this later)
Click "Create"
3.2 Windows Defender (If Applicable)
If you see a Windows Defender notification in the bottom-right corner of IntelliJ, click "Exclude folders" to prevent interference with your development work.
3.3 Running Your First Program
In the Project panel (usually on the left), expand the project structure
Navigate to src > Main.java
Look for the green "play" button next to the main method
Click the play button to run the program
You should see "Hello World!" appear in the console at the bottom of the screen
Seeing "Hello World!" in the console means your Java development environment is properly set up and ready to use!