From Java, is it possible to get the complete commandline with all arguments that started the application?
System.getEnv() and System.getPropertie
System.getEnv()
System.getPropertie
If you are using solaris as the OS, take a look at "pargs" utility. Prints all the info required.