CSC152 2005F, Class 5: An Introduction to Java, Continued Admin: * We have a TA! * Book sale today and tomorrow. * Happy days! * Administrative questions? * Bounty on site link/date errors * Reading for Monday: Input and Output Overview: * Questions on what you did (or failed to do) Wednesday? * Other questions! * Lab Review: * Steps for Java program (a) Write the program needs a package name, e.g., rebelsky.introjava needs a class name File must be ClassName.java File must be in a directory that corresponds to the package name (e.g., rebelsky/introjava) (b) Compile it Make your pwd the directory that contains the .java file /opt/jdk1.5.0/bin/javac ClassName.java jc ClassName.java YOU NEED MANY ENVT SETTINGS FOR THIS TO WORK (in .bashrc) export CLASSPATH="$CLASSPATH:/home/username/CSC152/:.:/home/rebelsky/Web/Courses/CSC152/2005F/Examples/" (c) Run it /opt/jdk1.5.0/bin/java package.ClassName ji package.ClassName