Creating a project

For each assignment or recitation, you should create a separate project directory. This will allow you to easily submit your assignments and compare them to previous revisions. You should be familiar with how to create a project from Recitation 1, but below are the instructions for creating a project in case you forgot.
  1. Create a new java project

    Right click in the "Package Explorer" tab and select "New"->"Java Project".


  2. Set the project name

    Name the project something appropriate (e.g. COMP 401 Recitation 2) then click "Finish".


  3. Download the Object Editor Jar

    You can save the file wherever you want. Just make sure you remember where you saved it.
  4. Copy the Object Editor jar file

    Right click on the downloaded jar file and select "Copy".


  5. Paste it into your newly created project

    Right click on the project and select "Paste".


  6. Add the new jar file to your build path

    Right click on the jar file, select "Build Path"->"Add to Build Path".

    If the "Add to Build Path" option doesn't appear, click on the "Project" menu item and select "Properties". In the left pane of the window that pops up, select "Java Build Path". In the right pane, select the "Libraries" tab. Click the "Add JARs" button. Find the Object Editor jar file in your current project, select it, and click "OK".


  7. Add a new package

    Right click on the "src" folder in your new project, and select "New"->"Package".


  8. Set the package name

    Name the package "main". Put your classes for the assignment inside this package.
  9. Take a second to make sure everything is correct

    You should see the object editor jar under "Referenced Libraries" and an empty "main" package.