Campbell Ritchie wrote:How much programming experience do you have? The book you have got is intended for experienced programmers planning to sit a certification exam. It isn't supposed to be a tutorial for beginners.
Junilu Lacar wrote:javac is the Java compiler. If you get no message, that's a good thing. It means the compiler ran successfully and your program has been compiled to a .class file. To run the program, use the java command.
Tim Holloway wrote:Actually, it's messier than that. There's a package structure. So the actual class to execute via the "java" command is sam.main.Main.