For a programmer who has switched from C ++ to Java, it is also difficult to create java executable files. The project was left behind by a few colleagues. Several necessary library files and tools for creating executable files were encrypted and unblocked; I don't know if it is because the company's relationship with the previous colleagues is not well handled. In addition, the qq of the former colleagues wants to talk about encrypted files, there is always no effective reply; I don't know whether to blame my former colleague for his professional ethics or the company's management! However, in any case, this problem cannot be solved. I certainly cannot eat it. These days, I have read the article to solve the problem of packaging multiple mutually dependent java projects as executable files!
Prerequisites: Install the eclipse fat-Jar plug-in. Download the fat-jar package, decompress the package, and upload the files under plugins to the plugins under the eclipse installation directory.
In the command window, run the generated executable jar package. Note: The Fat-Jar plug-in is packaged in a simple and crude manner!: In eclipseIDE, the default format is UTF-8, but the executable Jar file packaged with Fat-jar does not have this default option, users need to import with Chinese configuration files, with a UTF-8 conversion!