Follow the steps of the text description
First step: Select the project to export, right-click "Export"
Second step: Double-click the "Runnable Jar File" Under the Java folder
Step three: This step is 4 steps.
3.1 Select the jar's portal file from the drop-down box, which is the class 3.2 where the main method sets the path and package name for the Export Jar Package 3.3 Set the disposition method for the third-party jar package
Extract required libraries into generated jar: Remove all import jars, contained in each directory of the jar, and the actual effect of the export is as follows:
Package required libraries into generated jar: All the import jars are wrapped in the root directory of the jar, the actual effect of the export is as follows:
Copy required libraries into a sub-folder next to the generated jar: Place all the import jars in a separate folder outside the jar, the actual effect of the export is as follows:
3.4 Click "Finish" Step fourth: Enter the directory where the jar package is located: Java-jar Xxxxx.jar Enter
Eclipse Export executable jar package steps