Both applets and applications are compiled the same BE SURE YOU ARE USING THE APPROPRIATE COMPILER ---------------------------------------------- UNIX (Do not use an HP) CAEN - use swselect to pick the Java 1.3 compiler be sure to enter -> source ~/.software when you exit swselect (set your version of Netscape the same way) ITD - the default version of Java is Java 1.2.2 Mac - if CodeWarrior isn't the right version, use your UNIX account PC - find the path to the version you want to use. If the correct version is not on the computer you are using, try a different computer lab How to enter and compile your code ---------------------------------- UNIX (CAEN or ITD) (Do not use an HP) login to your favorite computer use your favorite editor (pico, vi, emacs, nedit, whatever) type in the java code name the file with the name of your class (case sensitive) and the .java extension (e.g. MyName.java) compile the file using the java compiler (javac) (e.g. javac MyName.java) Mac use Codewarrior choose the appropriate Java project type type in the code in the code window compile it from the menu PC if you use the JDK on a PC use your favorite editor (WordPad, edit, etc. If you use a word processor, save the code as Text only) type in the java code name the file with the name of your class (case sensitive) and the .java extension (e.g. MyName.java) compile it in DOS using the java compiler (javac) (e.g. javac MyName.java) if you use an IDE (Caffe, J++, etc.), follow the documentation How to print your code --------------------------------- UNIX 1) find the name of the printer go to the printer in the lab and write down the name OR (ITD only) http://kiosk.itd.umich.edu/cgi-bin/listprinters 2) at the prompt type lpr -Pprintername filename where printername is the name of the printer and filename is the name of the file you want to print Mac print from Codewarrior PC Print from the application in which you wrote your code