530/Handouts/agenda-060113.txt ------------------------------ Slow machines: open terminal window(s), ssh to another Mac: open terminal window(s), ssh to another DO NOT POWER OFF OR REBOOT !! Access from mac or linux or unix: ssh Access from windows? Yes, but need Hummingbird Exceed (to make your machine an X11 server) --> linux-shortcuts.txt make them your friends! Today: Go over simple java program, to show various java constructs/features as outlined in quick-java-summary.txt (see also pointers to tutorials, books) Handouts: agenda-060113.txt (this one) quick-java-summary.txt SimpleExample/Main.java Ant.java output.txt assignment.txt Get a copy now: cd ~ mkdir Java cd Java mkdir SimpleExample cd SimpleExample # NB the dot (.) at the end of this next one: cp /users/rlr/Courses/530/Src/SimpleExample/*.java . ls -l # that's an el , not a one ll # two el's emacs Main.java & # & puts it into background! inside emacs, open another frame, open Ant.java ctrl-MB1 - open buffers EXIT via MENU, not X in corner!! Compile: javac Main.java Ant.java ll # note the .class files Run: java Main java Main > output.txt