I believe that Java does not support the "INTERCEPTING" of method arguments, method args are not logged or intercepted in the JVM .
However, you can easily print out the args sent to a running class using the System.env example in the other answer on this thread .
HOWEVER, if you have control over the actual applications source code, you can follow the directions here : How do I intercept a method invocation with standard java features (no AspectJ etc)?
This will allow you to log and intercept the args being sent to the main method.