Step 1:
http://www.amazon.com/s/ref=
Step 2:
http://fivedots.coe.psu.ac.th/~ad/kinect/ch15/
$ vim helloworld.java /* Hello World Java Program */ class helloworld { public static void main(String[] args) { System.out.println("Hello World!"); } }
$ dpkg -l | grep java ii java-common 0.30ubuntu5 Base of all Java packages ii sun-java6-bin 6-16-0ubuntu1.9.04 Sun Java(TM) Runtime Environment (JRE) 6 (ar ii sun-java6-jdk 6-16-0ubuntu1.9.04 Sun Java(TM) Development Kit (JDK) 6 ii sun-java6-jre 6-16-0ubuntu1.9.04 Sun Java(TM) Runtime Environment (JRE) 6 (ar ii sun-java6-plugin 6-16-0ubuntu1.9.04 The Java(TM) Plug-in, Java SE 6 $ whereis javac javac: /usr/bin/javac /usr/share/man/man1/javac.1.gz $ which javac /usr/bin/javac
$ javac helloworld.java $ ls -ltr total 1760 -rw-r--r-- 1 ramesh ramesh 149 2010-01-23 09:51 helloworld.java -rw-r--r-- 1 ramesh ramesh 426 2010-01-23 09:52 helloworld.class
$ java helloworld Hello World!
This appendix summarizes the most commonly-used Java language features in the textbook. Here are the APIs of the most common libraries.
The full Math API.
Compile-time initialization.
Typical array-processing code.
Compile-time initialization.
Ragged arrays.
The full StdOut API.
The full StdIn API.
The full StdDraw API.
The full StdAudio API.
Instance variables.
Constructors.
Instance methods.
The full String API.
The full Color API.
The full In API.
The full Out API.
The full Picture API.
Last modified on June 28, 2010.