1. Updated instructions @ 1/05/13
Installing and Setting up Eclipse (Java) IDE - onceoff initially
Please follow thesimpleinstructions to successfully install and useEclipsefor requiredTerm 2
Practical Java Exercises on your own machine &on anypreferred platform:
1. Download(Free) then installthe correct Ecliplse IDE for Java EE client for
the machine (Windows 32-bit, 64-bit, MacOSX) you are working on:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-
developers/junosr2
2. Once installed, open the application. Every time you launchEclipseIDE to do
your practical workyou willreceive the followingprompt:
NOTE: LEAVE THIS SET TODEFAULT WORKSPACE, CLICK ‘Use this as the default and do
not ask again’AND JUSTCLICK ‘OK’…THIS WILL GET RID OF THE PROMPT IN FUTURE.
REASON:WE CLEVERLYTARGETA SPECIFIC WORKSPACE(NEXT)FOR EACH NEW ‘JAVA
PROJECT’ WE NEED, DON’T NEED THIS REMINDER!
WorkspaceStill Matters!:Workspace is the file path/directory that yourJava projects& associated
files areset to beforehand so they are then latersaved tothe designated area. Some of youmay like to
copy ‘Folio’ filesover and in the same wayTARGETthe workspace on your USB for the whole Term
(regularly back up files to H: drive if this is you…just to be safe!), or even better, tothe Desktop of a
dedicatedBYOD Laptop. Everyoneis expected to eventuallyhave either setup to work
effectivelybetween school and home(Homework is a strict expectation to complete the course
well!)…
2. Updated instructions @ 1/05/13
…More explained on the next page!
VERY IMPORTANT:At beginning of Term - you will finda folder called ‘Folio’ copied to your
HillcrestH:drivefor Term 2‘s work; it containsrelevant working folders/filesfor ALL chapter
problems(Java Genesis Text) and individual labswithin, even the Java Genesis pdfs!
For example, the following ‘parent-child’folders have been setup in H:/IPT/Term2/ Folioready
to save your assessed Labs and ‘Java Projects’ to!:
Labs:
o Lab1
o Lab2
o Lab3
o Lab4
o Lab5
You will always need toset your workspaceto the correct ‘CHILD’ folders inside ‘Folio’(as
demonstrated NEXT) – it will instantly recognise the project name as the name of selected
Folder.
This is the best and quickest way to get coding a solution immediately! TRUST ME
Hint: when copying folders / files (for backup) always know which is your current working
version of chapter problems / labs. Many have overwritten finished solutions with originals
and lost workwhen transferring to USB from school
3. In order to work with the magical“Java Genesis” librarythat goes along
withour textbook practical exercises, each time we create a new‘Java
Project’ (see below)in Eclipse,we must always remember to linkto
theexternal Genesis libraryeach time.
To do this, aspecial compressed file called ‘GenesisLib.jar’has been
created for you; it is located in H:/IPT/Term2/Folio –
and as stated, thisentire folder mustbe copied to USB or Laptop and
taken home. Alternatively, you can download at any time from‘Course
Docs’ on ourEd Portal IPT course(linked off announcements) where the
same files will always be hosted for you should you need them ever!
3. Updated instructions @ 1/05/13
So long as you have Eclipse installed and a copy locally of ‘Folio’ –
everything will be fine!
Setting up a new Java Project in Eclipse (Java) IDE -
You will repeatthis process many times over Term!
Do this for each new Eclipse Java Projectwhen completing Java
Genesis Chapter Problems / Labs:
1. File – New – Java Project
5. Updated instructions @ 1/05/13
3. Then, ‘Browse to’the particular project you’re working with in the
textbook chapters:
6. Updated instructions @ 1/05/13
(i.e. FolioChapter_ProbsChapter 1Pushing Puzzle)
4. Click‘OK’. Then ‘Next’. You will be presented with ‘Java Settings’ –
Click‘Libraries’, then ‘Add External Jars’
8. Updated instructions @ 1/05/13
6. Genesis will now be linked and on the ‘User Library’ list for the
newly created project.
7. Click‘Finish’. Ready to go! Your project should be in ‘’Package Explorer” along
with required *.java files (no errors fingers crossed!)