« Return to Thread: Q: main not available

Re: Q: main not available

by Chris Reeves-3 :: Rate this Message:

Reply to Author | View in Thread

To be specific, Sun Java 1.6.0_06 java command on linux requires at least that
signature. I would think the same jre on other platforms would be the same,
but icedtea, et al are probably a little bit different even on the same
platform.

Thanks, Chris

On Wednesday 13 August 2008 14:29:20 Jochen Theodorou wrote:

> Chris Reeves schrieb:
> > Exactly. The minimum signature that java will see is
> >
> > static void main(args) {
> > }
>
> the minimum signature varies from tool to tool. Some tools look for
> exactly "static void main(String[])", others are satisfied if there is a
> "static main(args)", but maybe the java command requires "static void
> main(args)". For the Groovy command the minimal form should be ok.
>
> bye blackdrag

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Q: main not available