Difference between revisions of "Teams Winter 2011/team4/lab1"
(→Preparing Eclipse) |
(→Creating your first Java project) |
||
Line 12: | Line 12: | ||
===Creating your first Java project=== | ===Creating your first Java project=== | ||
+ | |||
+ | # Now that you have Eclipse open and have defined a workspace, click File->New->Java Project | ||
+ | # After doing so a window will popup requiring you to enter a name for your Java Project, enter any name appropriate to the work you will be doing | ||
+ | # Click the next button, followed by the finish button, and you have no created your first Java Project | ||
+ | |||
===Browsing Java elements using the package explorer=== | ===Browsing Java elements using the package explorer=== | ||
===Editing Java elements=== | ===Editing Java elements=== |
Revision as of 21:40, 2 February 2011
Contents
- 1 Lab 1
- 1.1 Tutorial
- 1.1.1 Preparing Eclipse
- 1.1.2 Creating your first Java project
- 1.1.3 Browsing Java elements using the package explorer
- 1.1.4 Editing Java elements
- 1.1.5 Creating a Java class
- 1.1.6 Renaming Java elements
- 1.1.7 Moving and copying Java elements
- 1.1.8 Navigate to a Java element's declaration
- 1.1.9 Viewing the type Hierarchy
- 1.1.10 Searching the workbench
- 1.1.11 Running your programs
- 1.1.12 Debugging your programs
- 1.1.13 Evaluating expressions
- 1.1.14 Evaluating snippets
- 1.1.15 Using the Java browsing perspective
- 1.1.16 Writing and running JUnit tests
- 1.1 Tutorial
Lab 1
Tutorial
Preparing Eclipse
- First,begin by visiting here and choose Eclipse IDE for Java Developers (pay attention to 32bit and 64bit versions)
- Unzip the downloaded file int /Eclipse_Platform/Basics directory
- Start Eclipse by going into your newly created directory (/Eclipse_Platform/Basics/) and click the Eclipse executable
- There will be a dialog box that opens that requests the location of your workspace, enter the following: ./wksp/{app type} where {app type} is something along the lines of 'lab', 'simple', 'hello', ect
Creating your first Java project
- Now that you have Eclipse open and have defined a workspace, click File->New->Java Project
- After doing so a window will popup requiring you to enter a name for your Java Project, enter any name appropriate to the work you will be doing
- Click the next button, followed by the finish button, and you have no created your first Java Project