also, it would help if when you posted your code, you used the ubb code tags. there are these nifty little buttons below that will drop them in your message, then just paste your code between them. it will preserve the formatting, making it much easier to read.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
C:\Program Files\Java\jdk1.6.0_05\bin>java c:\java\BeerSong Exception in thread "main" java.lang.NoClassDefFoundError: c:\java\BeerSong Caused by: java.lang.ClassNotFoundException: c:\java\BeerSong at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
So it seems we compile ok but we're still having trouble executing.
# tail out 2 bottles of beer on the wall 2 bottles of beer. Take one down, Pass it around. 1 bottles of beer on the wall 1 bottle of beer on the wall 1 bottle of beer. Take one down, Pass it around. No more bottles of beer on the wall
so it looks like a path issue, unfortunately i don't do windows ...
Imagination is more important than knowledge "Albert Einstein"