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. -- Ranjit Mathew Email: rmathew AT gmail DOT com Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/