Teams Winter 2011/team6/lab1

From CDOT Wiki
Jump to: navigation, search

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)
01WSLauncher.png
c) Set up JRE
a) Go to Windows -> Preferences
b) Click Java -> Installed JREs -> Add
02Pref.png
c) Select Standard VM then click Next
03AddPref.png
d) Select the JRE (Browse through or type: C:\Program Files\Java\jdk1.6.0_24)
(Note: Your JRE may be saved elsewhere)
04AddPref2.png
e) Uncheck jre6 and Check jdk1.6.0_24 then click OK
05Pref.png

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