Eclipse+IDE+Installation+for+Java
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.
[email protected]
1FSBWQC5AJ
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.
[email protected]
1FSBWQC5AJ
3.2.2 Click on “Old Versions” from the right side of the web page as shown
below.
Note: Eclipse IDE stopped making Eclipse IDE for 32-bit versions. To keep yourself updated
with the latest version use 64-bit version systems.
[email protected]
1FSBWQC5AJ
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”.
[email protected]
1FSBWQC5AJ
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.
[email protected]
1FSBWQC5AJ
Step 9: Wait till the installation is complete.
[email protected]
1FSBWQC5AJ
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 13: Give title to your project and click the “Finish” button.
[email protected]
1FSBWQC5AJ
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.
[email protected]
1FSBWQC5AJ
Step 17: Type your Hello world program as shown below and click on Run icon.
[email protected]
1FSBWQC5AJ
[email protected]
1FSBWQC5AJ
[email protected]
1FSBWQC5AJ
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 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.
[email protected]
1FSBWQC5AJStep 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.
[email protected]
1FSBWQC5AJ
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 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.
[email protected]
1FSBWQC5AJStep 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.