If you installed Eclipse for a different programming language, you can add Java support from within Eclipse. Click the “Help” menu and select “Install New Software”. Select “All Available Sites” from the top drop-down menu, and then type “java” into the Filter field. Check the “Eclipse Java Development Tools” box and click “Next”. Follow the prompts to download and install the Java tools. Eclipse will restart once the installation is complete.

If you don’t see the “Java Project” option but have the Java Development Tools installed, select “Project. . . " from the “New” menu. Expand the “Java” folder and select “Java Project”.

Your project will be displayed in the “Package Explorer” frame on the left side of the window. If you just see the Eclipse Welcome tab, click the small Java button on the left side of the window. [3] X Research source See How to Write Your First Program in Java for a detailed guide on creating your first Java program.