How to create an Executable Jar File in Eclipse with a Java Application?

preview_player
Показать описание
How to create an Executable Jar File in Eclipse with a Java Application?

Compile your java code, generating all of the program's class files.
Create a manifest file containing the following 2 lines: Manifest-Version: 1.0 Main-Class: name of class containing main. ...
To create the JAR, type the following command: jar cmf manifest-file jar-file input-files.

Regards
Supremo Tech
Рекомендации по теме