This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is the name of your class "test" or "Test"? I would make sure that you are using the right class name and either launching java from the directory where the class lives, or that the class is in the classpath.