Start of day: Get file from website

Unzipping a zip file

  1. The that you download from the website or Google Drive cannot be directly read by Eclipse. You must convert it into a folder.
  2. Extract the file. It is easiest to just keep the File location as specified.
  3. The extracted folder will be a folder, not a zip. Eclipse can read this.

How to import a project

  1. In Eclipse, go to 'File', then 'Import...'. Then expand 'General' (or double-click) and click on 'Existing Projects into Workspace.' Then click 'Next >'.
  2. Find your folder, e.g., 'Day1'. If you did NOT unzip ('Extract') the downloaded file, you will not see your folder! Once you see it, click 'OK'. Then without changing anything, click 'Finish.'

Opening the Eclipse code viewer

  1. Open the code viewer by clicking on the Package Explorer icon. Also close the Welcome window to automatically open the code viewer.
  2. Expand (double-click or click plus-sign on) the Day1 folder, then expand src, then expand (default package).
  3. -->

How to run your project in Eclipse

  1. Right-click on the 'Day1' project in the Package Explorer (left-hand sidebar). Go to 'Run As', then click on 'Java Application'
  2. Find the program that you would like to run, e.g., CollectNewspaper.
  3. Woooo! Now click 'Start Program'.

Between labs: Submit your project to Google Drive and save

  1. Placeholder text

How to Submit

To submit follow these two steps:

  1. To zip the folder containing your project, run zipper.jar from your project folder.

    Find the folder with your project in it outside of Eclipse. If you don't know where your project is located in your computer, start from Eclipse and right-click (Mac OS X: Ctrl-Click) on your project name (the blue folder in the left sidebar). Then click on 'Properties', and navigate to/click on the 'Location' path to your project.

    1. Double-click on zipper.jar. You should see the following 'CS Bridge Assignment Submission' window:

    2. If you are on Mac OS X, you may see an error saying "zipper.jar cannot be opened because it is from an unidentified developer." You should right-click (or Ctrl-Click) on zipper.jar and select "Open". Then verify that you want to open the file.
    3. In the 'CS Bridge Assignment Submission' window that pops up, fill in your information: your full name and your Student ID. Your Student ID should be a letter followed by 4 numbers (e.g., K0012) and can be found on your student nametag.
    4. If you do not remember your Student ID and have lost your nametag, contact your Section Leader.
    5. Press 'Submit'. The zipped folder will be located at the location you specified.
    6. Close the 'CS Bridge Assignment Submission' window.
  2. Upload the zip file using the link provided by your section leaders in lab.