Open main menu

CDOT Wiki β

Teams Winter 2011/team6/lab1

Revision as of 12:45, 14 April 2011 by Jevangel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
b) Click Java -> Installed JREs -> Add
 
c) Select Standard VM then click Next
 
d) Select the JRE (Browse through or type: C:\Program Files\Java\jdk1.6.0_24)
(Note: Your JRE may be saved elsewhere)
 
e) Uncheck jre6 and Check jdk1.6.0_24 then click OK
 

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