Java How-To

How to Import Lecture Examples

How to Import and Run Lecture Examples

  1. Locate and download the desired archive file of lecture examples
  2. Create a project for these examples (if one does not exist already)
  3. Select File -> Import. Select "Archive File" under the "General" Category and select "Next"
  4. For the "From archive file" field, navigate to and select the file from step 1
  5. For the "Into folder" field, ensure the desired project is selected (if not, fix this) [the default value is whichever project is highlighted during step 3]
  6. Select "Finish"

Now these lecture examples will be brought into the specified project and can be invoked in ay number of ways (e.g., Run->Run As->Java Application)