tonilopezmr / tonilopezmr.github.io

My web portfolio.
https://tonilopezmr-github-io.vercel.app
Other
4 stars 1 forks source link

Add information in a JAR file using cfm options #15

Open tonilopezmr opened 6 years ago

tonilopezmr commented 6 years ago

To add a MANIFEST.MF or create a jar from .class and other libraries you can use jar cfm options.

jar cfm app.jar META-INF/MANIFEST.MF folderWithClasses folderWithLibraries

References

  1. https://docs.oracle.com/javase/tutorial/deployment/jar/modman.html