You can write a simple generic launcher in the following way: public class Launcher{ public static void main(String[] args){ if (args.length>0) { try { Command ...
Many Java applications started from the command line take arguments to control their behavior. These arguments are available in the string array argument passed into the application’s static main() ...