Fwd: How to get the "main" class?
Krystal Mok
rednaxelafx at gmail.com
Wed Mar 14 02:56:52 PDT 2012
That's true. I should have stated that warning beforehand.
It'd be better if there's a standard way of getting this information,
without depending on implementation-specific hacks.
Thanks,
- Kris
On Wed, Mar 14, 2012 at 5:51 PM, Alan Bateman <Alan.Bateman at oracle.com>wrote:
> On 14/03/2012 04:14, Krystal Mok wrote:
>
>> Oops, I forgot to "reply all" again...
>>
> I would think that depending on sun.java.command is going to fragile. It's
> unlikely to be set by custom launchers, is a private interface between the
> launcher and the VM and so could disappear to change at any time.
>
> -Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120314/68bd508c/attachment.html
More information about the hotspot-runtime-dev
mailing list