To compile this program, just type 'javac Survey.java' on the command line. You must have executed 'xhost +' on the machine and have set the DISPLAY variable back to your machine. The syntax for running this program is as follows: For the teacher/server: java Survey {number of minutes server will accept votes} For the students/client: java Survey {host} {port}