Difference between revisions of "Teams Winter 2011/team6/lab1"

From CDOT Wiki
Jump to: navigation, search
(Preparing Eclipse)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
  
 
::b) Click Java -> Installed JREs -> Add
 
::b) Click Java -> Installed JREs -> Add
::[image:02Pref.png|300]
+
::[[image:02Pref.png|300px]]
 
::c) Select Standard VM then click Next
 
::c) Select Standard VM then click Next
::[image:03AddPref.png|300px]
+
::[[image:03AddPref.png|300px]]
 
::d) Select the JRE (Browse through or type: C:\Program Files\Java\jdk1.6.0_24)
 
::d) Select the JRE (Browse through or type: C:\Program Files\Java\jdk1.6.0_24)
 
:::(Note: Your JRE may be saved elsewhere)
 
:::(Note: Your JRE may be saved elsewhere)
::[image:04AddPref2.png|300px]
+
::[[image:04AddPref2.png|300px]]
 
::e) Uncheck jre6 and Check jdk1.6.0_24 then click OK
 
::e) Uncheck jre6 and Check jdk1.6.0_24 then click OK
::[image:05Pref.png | 300px]
+
::[[image:05Pref.png | 300px]]
  
 
==Creating Your First Java Project==
 
==Creating Your First Java Project==
 
+
:a) File -> New -> Java Project
 
+
:b) Name the Project (cs.dps914.basics.lab) and select "Default Location" check box
lalala
+
: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 13:45, 14 April 2011

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