1, windows can consider writing a batch file, that is, first introduce dependency classes, and then execute Java commands to write a shell script-under Linux-if there is a problem, I can tell you how to write it.
2, use exe4j to generate exe executable files, which can definitely be found online!