This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: argv[0]


thanks!

On Mon, 2005-04-25 at 11:12 +0530, Ranjit Mathew wrote:
> Fabio Roger wrote:
> > hi, quick question, in C, the argv[0] in main(int, char**argv) would
> > tell running program path.. what would be the way of getting that
> > information in a java program natively compiled with gcj?
> 
>   System.getProperty( "gnu.gcj.progname");
> 
> See:
> 
>   http://gcc.gnu.org/onlinedocs/gcj/libgcj-Runtime-Properties.html
> 
> HTH,
> Ranjit.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]