Working on CS170 from Home on Mac OS X
Setting up your Java development environment at home
To work from home you will need to be able to write, compile, and test Java programs. OS X comes with Java installed, to get the latest version simply do a "Software Update." To verify you have java and javac installed, launch the terminal application (Applications->Utilities->Terminall.app) and run the commands:
Copying files from/to the lab machines
In CS170 you must copy homeworks to the appropriate directory on the lab machines. For example, if your login id in the lab is "bsmith", then yout homework 1 files must be located in the directory: /home/bsmith/cs170/hw1. Since all lab machines share the same file system you can connect to any lab machine you want. To copy files back and forth we will use an application called "CrossFTP." Download it from Emory's Software Express (https://software.emory.edu/express/), unzip it, and copy it to your Applications folder. Then configure it to access a lab machine.
Testing your work.
It is important to test (compile and execute) your work on the lab machines once you have copied it over. Log onto a lab machine, then test your work in the terminal as if you were sitting in the lab. The following example uses the command: