This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, I am writing a java application and I am checking the number of arguments passed on the command line and if this fails printing out a usage message. I would like the usage message to include the name of the class that contains the main method. How do I access this information?