How to get the "main" class?

Eric Caspole eric.caspole at amd.com
Tue Mar 13 10:49:58 PDT 2012


Is there a way via JVMTI or system property or anything to get the  
"main" class name of a Java application? We could use this to report  
the app name in a nicer way, rather than concatenating the whole java  
command line, for example.
Thanks,
Eric




More information about the hotspot-runtime-dev mailing list