Re: Reading command line parameters in gcj compiled exe

Jary Grove <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Thanks Andrew. 

It worked!

Jary




---------------------------------------------------------------------------------------
Active Directory Browser: http://www.ldapsoft.com/adtool.html



----- Original Message ----
> From: Andrew Haley <[email protected]>
> To: Jary Grove <[email protected]>
> Cc: [email protected]
> Sent: Friday, January 23, 2009 10:54:13 AM
> Subject: Re: Reading command line parameters in gcj compiled exe
> 
> Jary Grove wrote:
> > I have natively compiled an application using gcj compiler, how can I 
> pass/read the command line parameters in the main java class?
> > 
> > For example my command line with parameters is  tools.exe param1 param2
> 
> It's the same as usual; you have a method in your main class that
> takes the args:
> 
>   public static void main(String[] args)
> 
> Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.