Difference between revisions of "Hello World in Eclipse"

From Progzoo
Jump to: navigation, search
(New Project Wizard)
Line 25: Line 25:
 
[[Image:Eclipse_Project_Wizard.png|thumb]]
 
[[Image:Eclipse_Project_Wizard.png|thumb]]
 
*Set the Project Name to FirstProject (Use a capital for the first letter)
 
*Set the Project Name to FirstProject (Use a capital for the first letter)
 +
*Pick Java Project to start with
 +
*Call your project FirstProject and check that you have at least 1.5 as the Execution Environment.
 +
**Note that 1.5 is often referred to as 5; similarly 1.7 is version 7.
 +
**The big changes happened at 1.5
 +
*You can just accept the defaults regarding file locations and perspectives.

Revision as of 02:16, 16 November 2013

Download Eclipse

Pick the EE (Enterprise Edition)


Unzip and make a shortcut

No install - just unzip it
  • There is no install - simply unzip it to a convenient locations (for example c:\)
  • You can start by double clicking eclipse.exe
  • You can make a shortcut on your desktop


Welcome Screen

Close this pane
  • Accept the default workspace and move on
  • The welcome screen can be closed - you will not need it again


New project

File New Project
  • You want to start with a Java Project
    • A project can include many classes and other things
  • File / New / Project...
  • You want to start a Java Project


New Project Wizard

Eclipse Project Wizard.png
  • Set the Project Name to FirstProject (Use a capital for the first letter)
  • Pick Java Project to start with
  • Call your project FirstProject and check that you have at least 1.5 as the Execution Environment.
    • Note that 1.5 is often referred to as 5; similarly 1.7 is version 7.
    • The big changes happened at 1.5
  • You can just accept the defaults regarding file locations and perspectives.