Detect main class

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-05-20T08:10:58Z Indexed on 2010/05/20 8:20 UTC
Read the original article Hit count: 236

Filed under:
|

Hoe can I detect the main class of my application? The one, which is either given on the command line or loaded from the jar given at the command line?

If this is not possible, why not?

© Stack Overflow or respective owner

Related posts about java

Related posts about detection