Using Eclipse IDE For Java
Using Eclipse IDE For Java
Starting Eclipse
When you download Eclipse, the executable file can be stored anywhere on your computer (you are
not forced to save it in My Programs. It is probably helpful to create a desktop shortcut and/or taskbar
shortcut to your eclipse application so that you can find it easily.
To find where Eclipse is stored on your computer, you can type ‘Eclipse’ into the Search window
accessed by clicking on the windows icon on the bottom left of your task bar.
The most recent version (in February 2018) of Eclipse is Eclipse Oxygen, however, you may still use
older versions successfully. The Labs at Mt Helen have Eclipse Mars installed.
When you start up Eclipse, you first see a welcome screen. The welcome screen for Eclipse Oxygen
is shown below:
To begin to work, you need to close the welcome screen and open the workbench.
CRICOS Provider No. 00103D Using Eclipse IDE for Java Page 2 of 5
Click on restore icon on top left to view the workbench in Eclipse. Then change the perspective to
Java. In the screen shot below, the welcome screen for Eclipse Mars is shown.
CRICOS Provider No. 00103D Using Eclipse IDE for Java Page 3 of 5
The Java Perspective in Eclipse
The Eclipse Java perspective window displays your existing projects and packages in the left window titled
Package Explorer and displays your code in the middle window.
CRICOS Provider No. 00103D Using Eclipse IDE for Java Page 4 of 5
Creating a project locally in Eclipse
First, create a new Java Project in Eclipse:
Give your project a name (for example ‘HelloWorld’) and click Finish:
You can now start developing your project by adding packages, classes, and so on.
CRICOS Provider No. 00103D Using Eclipse IDE for Java Page 5 of 5