Compile with: javac tryout.java run with: java Tryout take care, Sina -----Original Message----- From: brailleblaster-bounce@xxxxxxxxxxxxx [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Wednesday, February 02, 2011 11:17 AM To: brailleblaster@xxxxxxxxxxxxx Subject: [brailleblaster] Dumb Question I have a small Java class that I want to use to test things. When I type javac classname I always get the message "classname is npt permitted unless annotation is explicitly requested." What's going on here? the class is public class Tryout { public static void main (String[] args) { String osName = System.getProperty("os.name"); System.out.println(osName); } } John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities