« Return to Thread: Q: main not available

Re: Q: main not available

by Jochen Theodorou :: Rate this Message:

Reply to Author | View in Thread

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

--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
http://www.g2one.com/

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Q: main not available