[brailleblaster] Dumb Question

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 2 Feb 2011 10:17:12 -0600

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


Other related posts: