Difference between revisions of "Teams Winter 2011/team6/lab1"
(→Preparing Eclipse) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
===Lab 1 Basics Tutorial=== | ===Lab 1 Basics Tutorial=== | ||
− | |||
− | |||
==Preparing Eclipse== | ==Preparing Eclipse== | ||
===Download Eclipse=== | ===Download Eclipse=== | ||
− | :a)Download | + | :a) Download "Eclipse classic" [http://www.eclipse.org/downloads/ here] (take note of 32-bit or 64-bit OS versions) |
+ | :b) Unzip the contents into a newly created folder | ||
− | |||
+ | ===Prepare Eclipse=== | ||
+ | :a) Launch Eclipse from the folder (eclipse.exe) | ||
+ | :b) In the Workspace Launcher window name your workspace ("./wksp/eclipse") | ||
+ | ::(make sure that default check box is not checked) | ||
+ | :[[image:01WSLauncher.png|500px]] | ||
+ | :c) Set up JRE | ||
+ | ::a) Go to Windows -> Preferences | ||
+ | |||
+ | ::b) Click Java -> Installed JREs -> Add | ||
+ | ::[[image:02Pref.png|300px]] | ||
+ | ::c) Select Standard VM then click Next | ||
+ | ::[[image:03AddPref.png|300px]] | ||
+ | ::d) Select the JRE (Browse through or type: C:\Program Files\Java\jdk1.6.0_24) | ||
+ | :::(Note: Your JRE may be saved elsewhere) | ||
+ | ::[[image:04AddPref2.png|300px]] | ||
+ | ::e) Uncheck jre6 and Check jdk1.6.0_24 then click OK | ||
+ | ::[[image:05Pref.png | 300px]] | ||
− | + | ==Creating Your First Java Project== | |
+ | :a) File -> New -> Java Project | ||
+ | :b) Name the Project (cs.dps914.basics.lab) and select "Default Location" check box | ||
+ | :c) Right Click the Project -> New -> Package | ||
+ | :d) Name the Package (cs.dps914.basics.lab) and keep source folder at default |
Latest revision as of 12:45, 14 April 2011
Contents
Lab 1 Basics Tutorial
Preparing Eclipse
Download Eclipse
- a) Download "Eclipse classic" here (take note of 32-bit or 64-bit OS versions)
- b) Unzip the contents into a newly created folder
Prepare Eclipse
- a) Launch Eclipse from the folder (eclipse.exe)
- b) In the Workspace Launcher window name your workspace ("./wksp/eclipse")
- (make sure that default check box is not checked)
- c) Set up JRE
- a) Go to Windows -> Preferences
Creating Your First Java Project
- a) File -> New -> Java Project
- b) Name the Project (cs.dps914.basics.lab) and select "Default Location" check box
- c) Right Click the Project -> New -> Package
- d) Name the Package (cs.dps914.basics.lab) and keep source folder at default