Maybe save them to H:\CSI2172\lab1\pointCP\]

How to get the project open and run:

  1. Start Jbuilder 7: Start|Programs|Borland|JBuilder 7 Enterprise|Jbuilder 7 Enterprise
  2. Do: File|New Project...
  3. Name: pointCP
    Directory: (click the ... and select the parent directory where you saved the files to [H:\CSI2172\lab1\]
  4. Click Next>
  5. Edit the path for the source code: Select the first line in the lower box and then click on Edit
  6. Click ok (the correct directory should be selected: H\CSI2172\lab1\pointCP)
  7. Click Next>
  8. Uncheck the "Enable Source Package Discovery and Compilation"
  9. Click Finish

To Add files/packages: To Run your code:
  1. Select from the menu: Run|Run Project
    You will need to create a "runtime configuration"
  2. Click on New...
  3. Enter a name for the configuration e.g. pointCPtest
  4. Select the .class file where the main method exists: Click on ...
  5. Browse for the class: Enter in the first few letters of the class e.g. PointCPTest.
  6. Leave the VM parameters and Application parameters blank
  7. Click on Ok
  8. Click on Ok
  9. Select from the menu (again): Run|Run Project

Also note the following: If you are running code that writes to System.out and you want to direct that output to a file, you can use the statement

System.setOut(new PrintStream(new FileOutputStream("data_filename.txt)));