You Don't have doing all of that, just add " --win-dir-chooser --win-console " in your jpackage command line.