1. Select Project, right-click, export, select runnable JAR file under Java directory, next
2. Select the Startup class in the Lanch configuration
3. Export Destination Select the place
4. Library handling the processing of reference libraries:
1). Extract required libraries into generated JAR
Extract the necessary libraries into the generated jar package
Only one jar file is exported. Unpack the jar package directory:
MANIFEST. MF content:
2). Package required libraries into generated JAR
Packaging the necessary libraries into the generated jar package
Only one jar file is exported. Unpack the jar package directory:
MANIFEST. MF content:
3) . Copy required libraries into a sub-folder next to the generated JAR
Copy the required library to a subdirectory of the jar package
exported a jar file and a Lib directory.
Unpack the jar package directory:
MANIFEST. MF content:
Steps to runnable jars everywhere with the IDE