[java] how to pass command line arguments to main method dynamically