1.Developing Games in Java, written by David Brackeen,url: www.brackeen.com
book all src:X:\game
Usage:
in command line,type java SpriteTest1,for example and a sprite can be seen on screen.
in terminal look like this,x:\game\ch02src>java SpriteTest1 <Enter>
If u want to compile java file with Ant,enter the ch02src and just type ant in command line.
Before using j2sdk1.4.2 and ant-1.4.1,system parameters should be setted first.
like these:
ANT_HOME x:\ant
JAVA_HOME x:\j2sdk1.4.2