This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Crusty, can you change your displayed name to conform to the JavaRanch naming policy. In short, your name must be a first name and last name, separated by a space and not obviously fake. You can do that here. Now, about packages. Unless you tell the compiler differently, it will write the class file it generates into the current working directory. Packages work like the file system, so if you have a package named com.example.test, the compiler will expect to find classes in that package in a directory named com/example/test under the current one (or in the classpath, but that's another story). To have the compiler do this automatically, compiler with the -d flag and specify a directory ("." for the current directory is fine). Consult the Java Tutorial chapter on Packages for more info. [ February 23, 2005: Message edited by: Joe Ess ]