JAR executable file creation process

Veröffentlicht am: 21 Oktober 2022
auf dem Kanal: Escobar
987
17

Before:

Add Path

1. Create a Manifest file named "temp.mf"

2. Place the following instructions inside:

Main-Class: ClaseMain
Sealed: true

***Note: "ClaseMain" is the name of the class containing the main method and does not include the .java or .class extension.

3. Run the following command in the directory containing the .class files to generate the JAR file:

jar -cf GATO.jar *.class

4. Run the following command in the directory containing the .class files to add the manifest to the .jar file:

jar cmf temp.mf GATO.jar *.class

5. Done, run: TVSB


Auf dieser Seite können Sie das Online-Video JAR executable file creation process mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Escobar 21 Oktober 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 987 Mal angesehen und es wurde von 17 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!