We use cookies to analyze site traffic and show personalized ads. You can accept all cookies or decline personalized advertising.
Learn more in our Privacy Policy.
Download and set up IntelliJ IDEA Community Edition for Java development.
IntelliJ IDEA is one of the most popular IDEs for Java and JVM-based development, and the Community Edition is free and powerful enough for most learning and automation projects.
Having a consistent IDE setup means:
Before you start, make sure you have:
java -version working in a terminal.ideaIC-2025.2.5.exe. (The version numbers may change over time.)On the download page:
.exe file, e.g.:ideaIC-2025.2.5.exe (version may be different on your machine).ideaIC-2025.2.5.exe).C:\Program Files\JetBrains\IntelliJ IDEA Community Edition).Program Files path is usually the safest.You'll see a screen with several checkboxes such as:
For beginners, the following combination works well:
idea from terminal..java files will open in IntelliJ.Then:
When IntelliJ opens for the first time:
Let's just confirm everything works before we move on to more advanced labs.
intellij-setup-check.Main.main.If the program runs and prints text to the console, your IntelliJ setup is successful.
Below is a minimal Java program you can use to verify IntelliJ IDEA is installed and working correctly.
public class Main {
public static void main(String[] args) {
System.out.println("IntelliJ IDEA Community Edition is ready!");
}
}src folder and choose New → Java Class.Main and click OK.main method, click the green Run icon.IntelliJ IDEA Community Edition is ready!If you see that text with no errors, your environment is ready for future labs.
Ctrl+Space (code completion) and Ctrl+/ (comment/uncomment) will dramatically speed up your work.