Embed.main();
If your main method implements varargs, then you will need to pass something. If it implements during an array, you need to pass an empty array.
Personally, although I would think about refactoring the code you need into a separate method. Basically you are likely to have all of your settings that you might not want to run again
source share