You are on page 1of 15

Eclipse IDE Installation for Java

“IDE” Integrated Development Environment helps software developers to improve the software
development process by helping developers
● to autofill keywords in programming language
● to highlight the human errors like spelling mistakes, incorrect keywords according to the structure
of the programming language
● to maintain the packages as needed
● Identify where and why the program is terminated and many more features.
Hence, we use Eclipse IDE to organize, maintain and help us achieve our goals with less hurdles and
faster development.

Eclipse For Windows:

Step 1: Visit the “eclipse website” to download the application.

Step 2: Click on the “Download” button as shown below.


Step 3: Choose files according to your system requirements.
3.1 For 64-bit click on the “download” button directly.

Note: As on the document created, Eclipse IDE 2021-06 is the latest version. Kindly Install the latest
version when you are installing the application.

3.2 For 32-bit,


3.2.1 click on “Download packages” as shown below.

3.2.2 Click on “Old Versions” from the right side of the web page as shown below.
3.2.3 As of 17-06-2021, 32-bit versions of the eclipse IDE are available from 2018-09
and below versions only.

Note: Eclipse IDE stopped making Eclipse IDE for 32-bit versions. To keep yourself updated with the
latest version use 64-bit version systems.

3.2.4 Select “R PAckage”.

3.2.5 Choose the 32 bit version as shown below.


Step 4: Click the Download button. Do not worry about the server from which you are downloading. You
can change the server if needed. By clicking on “select another mirror”.

Step 5: Open the Downloaded .exe file by double clicking on it.


Step 6: Select “Eclipse IDE for Java Developers” as shown below.
Step 7: Install eclipse.
1. Eclipse will automatically find the JDK installed in your system if Installed. Install JDK and Run the
.exe file if JDK is not installed. You can change location if the installed JDK is in a different location.
2. You can use the default Installation folder or change it if you need.
3. Click “Finish” button as shown below.

Step 8: Accept the User Agreement.


Step 9: Wait till the installation is complete.

Step 10: Click on “launch'' as shown below.


Step 11: Workspace is the location where all your project files are located. Change location if needed.
Else, leave it as default and click the “Launch” button.

Step 12: Close the welcome page and open FIle/New/Java Project.
Step 13: Give title to your project and click the “Finish” button.

Step 14: Create Java class by clicking on File/New/Class.


Step 15: Enter your class name and mark “Public static void main(String[] args)” if you want the class
to be the main class and click the “Finish” button.

Step 16: Click on “Don’t Create” button as shown below.


Step 17: Type your Hello world program as shown below and click on Run icon.

Step 18: Click on Run As/Java Application.

Step 19: Click on the “ok” button.


Step 20: See your output below.

Congratulations! You have successfully Installed and executed your first Java
program.

Eclipse For MacOS:


Step 1: Visit the “eclipse website” to download the application.

Step 2: Click on the “Download” buttons as shown below.

Note: As on the document created, Eclipse IDE 2021-06 is the latest version. Kindly Install the latest
version when you are installing the application.

Step 3: Click on “Old Versions” from the right side of the web page as shown below to install older
versions.
Step 4: Open the downloaded .dmg file and copy Eclipse to Applications Folder.
Step 5: Go to Launchpad and click on the “Eclipse IDE” icon. Step 6:
Click on the “open” button from the pop up message.
Step 7: Click on the “Eclipse IDE for Java Developers”.
Step 8: Eclipse IDE will recognize your java JDK file if installed. Else, Install the JDK and then
Install Eclipse IDE. Click the Install button and then “Accept Now” Button.
Step 9: Click on the Launch button.
Step 10: Workspace is the location where all your project files are located. Change if needed, else leave it
as default and click the “Launch” button.
Step 11: Close the welcome window and click on File/New/Java Project.
Step 12: Give title to your project and click the “Next” button.
Step 13: Leave the Project structure as it is and click on the “Finish” button.
Step 14: Eclipse will ask you to create a module. Click on the “Don’t create” button.
Step 15: Open Project Explorer by clicking on the first icon from the left menu.
Step 16: Right click on your project name/src folder and click on New/package and name your package.
Step 17: Right click on the Package and click on New/Class button.
Step 18: Name your class and Mark the check box of “Public static void main(String[] args)” if you
want the class to be Main class.
Step 19: Make sure that the “Build Automatically” button is marked in the Project section from the first
row.
Step 19: Write your program and click on the “Run” icon button from the second row menu.
Step 20: You will see your output in a window. You can reposition the output window in eclipse.
Reposition as you need.

Congratulations! You have successfully Installed and executed your first Java
program.

Eclipse For Ubuntu:

Step 1: Visit the “eclipse website” to download the application.


Step 2: Click on the “Download” buttons as shown below.

Note: As on the document created, Eclipse IDE 2021-06 is the latest version. Kindly Install the latest
version when you are installing the application.

Step 3: Click on “Old Versions” from the right side of the web page as shown below to install older
versions.
Step 4: Extract the tar file after downloading and open “eclipse-inst” file.
Step 5: Click on the “Eclipse IDE for Java Developers” from the opened window.
Step 6: Eclipse IDE will recognize your java JDK file if installed. Else Install the JDK and then Install
Eclipse IDE. Click the Install button and then “Accept Now” Button.
Step 7: Click on the “Launch” button.
Step 8: Workspace is the location where all your project files are located. Change if needed, else leave it
as default and click the “Launch” button.
Step 9: Click on File/New/Java Project.
Step 10: Give title to your project and click the “Next” button.
Step 11: Leave the Project structure as it is and click on the “Finish” button.
Step 12: Eclipse will ask you to create a module. Click on the “Don’t create” button.
Step 13: Open Project Explorer by clicking on the minimize button from the welcome window. Step 14:
Right click on your project name/src folder and click on New/package and name your package.
Step 15: Right click on the “Package name" and click on New/Class button.
Step 16: Name your class and Mark the check box of “Public static void main(String[] args)” if you
want the class to be Main class.
Step 17: Write your program.
Step 18: Make sure that the “Build Automatically” button is marked in the Project section from the first
row.
Step 19: Click on the “Run” button from the top menu.
Step 20: You will see your output in a window. You can reposition the output window in eclipse.
Reposition as you need.

Congratulations! You have successfully Installed and executed your first Java
program.

You might also like