|
|
University of Alberta |
|
If you have problems, please ask your TA; if they can help, they will. Note that you are ultimately responsible for solving problems on your home computer, though.
Ensure you read over the "installation/configuration notes" at the Eclipse Tutorials page before installing Java. The following is a guide for installing the Java SDK (Software Development Kit) 1.4.2_18, which is the same (or very similar) to the version installed in the labs.
C:\j2sdk1.4.2_18, or a similar location (below is a
rough guide).
Note that there are newer versions of Java available, yet this version likely works best with the version of Eclipse in the lab .
Ensure you read over the "installation/configuration notes" at the Eclipse Tutorials page before installing Eclipse. The following is a guide for installing Eclipse 3.1.2, which is the same as the version in-lab.
C:\eclipse directory being created.
If Winzip is installed, do the following:
- You'll likely be able to just click the Open button on the Download Complete window that pops up once the download has been completed. You may instead have to double-click on
C:\eclipse-SDK-3.1.2-win32.zip- In the WinZip window that comes up, click the I Agree button.
- In the next WinZip window that pops up, you can click the Extract button.
- In the Extract window, ensure the Extract to: field is set to
c:\, and that Use folder names is checked, then click the Extract button.- Once the extract is done, close WinZip.
Otherwise, instructions for this vary.
You can download WinZip from http://www.winzip.com/ (which unfortunately, now, seems to cost money. 7-Zip, at http://www.7-zip.org/ may also work.)
C:\eclipse directory that was
created to C:\eclipse3.1.2. Ensure you read over the "installation/configuration notes" at the Eclipse Tutorials page before configuring Eclipse. Ensure also that you've installed Eclipse and Java (as specified above) before configuring Eclipse. The following is a guide for configuring Eclipse 3.1.2 as it is configured in the labs.
C:\Workspace.
Doing this is similar to saving and
unzipping the Eclipse installation above.
-data flag to eclipse.exe to specify the
new Workspace. Search for running
eclipse in the Eclipse help for more
information on the -data flag, and see the sample shortcut below for an example.
OR
import wizard in the Eclipse
help for more information on Importing projects. OR
C:\eclipse3.1.2\eclipse.exe -vm C:\j2sdk1.4.2_18\bin\javaw.exe -data "C:\Workspace" -vmargs -Dfile.encoding=utf-8
C:\eclipse3.1.2\eclipse.exe,
C:\j2sdk1.4.2_18\, and C:\Workspace, which is where all
your Eclipse projects will be stored. C:\eclipse3.1.2\eclipse.exe, and
then click the Next button. Eclipse3.1.2, and click the
Finish button. Note that following the instructions at Configuring Eclipse Like in the Lab (the short version or the detailed version), will result in Eclipse being set up as described below.
The following Eclipse settings have been implemented in the labs (the version of Eclipse in-lab is 3.1.2):
-> Run..., Java was chosen
beside the Run: field for both the Java Applet and
Application Configurations.-> Workspace: unchecked Build
automatically and checked Save automatically
before build . -> Capabilities: clicked
on Advanced..., and unchecked Plug-in Development
(under Development) and Team -> Editors
-> File Associations: under File
types added a *.class, and for *.class under
Associated Editors added a No Source Found editor
and made it the default. -> Workspace
-> Linked Resources: disabled
(unchecked)-> Editor: unchecked
Report problems as you type -> Editor ->
Folding: unchecked Imports.-> Editor ->
Mark Occurrences: unchecked Mark occurrences of the
selected element in the current file -> Editor
-> Syntax Coloring, under Element
Java -> Deprecated members : unchecked
Strikethrough -> Launching: unchecked
Build (if required) before launching, and for Open the
associated perspective when launching, Always was
chosen.
D:\eclipse3.1.2\eclipse.exe -vm C:\j2sdk1.4.2_18\bin\javaw.exe -data "H:\Workspace" -vmargs -Dfile.encoding=utf-8
| To Tutorial page |