How to install Eclipse IDE on Windows 11 and run a Java program

This guide walks you through installing Eclipse IDE 2026-06 on Windows 11 and running your first Java program. It suits absolute beginners with no coding experience. You need a Windows 11 PC, the Java JDK, and the Eclipse installer.

YouTube video: Eclipse IDE Tutorial for Beginners: Install & Run Java Program in 2026

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

6 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (6)
Video length
6 min 22 s
Time to do it
20 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Download the Java JDK from the official Oracle or OpenJDK site and install it. Eclipse needs the JDK to compile and run Java code.

  2. Go to the Eclipse downloads page and get Eclipse IDE for Java Developers for Windows. Pick the 2026-06 release.

  3. Run the downloaded Eclipse installer. Choose Eclipse IDE for Java Developers and set your install folder, then click Install.

  4. Launch Eclipse and pick a workspace folder where your projects will be saved. Click Launch to open the workbench.

  5. Go to File > New > Java Project, type a project name, and click Finish.

  6. Right-click the src folder, choose New > Class, name it Main, and tick the box to add the main method.

  7. Type a simple program such as System.out.println("Hello"); inside the main method.

  8. Right-click the file and choose Run As > Java Application. Check the Console view for your output.

Tips and common mistakes

Install the JDK before Eclipse, or the IDE cannot compile your code.

Keep your workspace folder outside OneDrive or synced folders to avoid file lock errors.

If Run As shows no Java Application option, check that your class has a main method.

Questions

Do I need to install Java separately?

Yes. Eclipse is only the editor and needs the JDK installed on your PC to compile and run Java code.

Which Eclipse package should a beginner pick?

Choose Eclipse IDE for Java Developers. It includes the tools you need for basic Java projects.

Where do I see the program output?

The output appears in the Console view at the bottom of the Eclipse window after you run the program.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all