JAR executable file creation process

Publicado el: 21 octubre 2022
en el canal de: 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


En esta página del sitio puede ver el video en línea JAR executable file creation process de Duración hora minuto segunda en buena calidad , que subió el usuario Escobar 21 octubre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 987 veces y le gustó 17 a los espectadores. Disfruta viendo!