The best way to distribute java applications is using a JAR file that is run with the java VM.
To create a JAR with eclipse we have to go the project explore and click with the right button and on the menu select “Export“
![](https://anotherdev.tech/wp-content/uploads/2022/07/imatge.png)
After this, we need to select:
- The execution entry point (Configured launcher)
- The export destination
- And the option to package the jar with libraries
![](https://anotherdev.tech/wp-content/uploads/2022/07/imatge-1.png)
Deixa un comentari