Possible Duplicate:
How to get vm arguments from inside of java application?
I want print the current command line options of a Java process in a log file. Is there an API in Java to request this parameters? I does not means the program arguments that are passed to main. I am interesting on the -X and -D parameters.