author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 01 Oct 2010 10:21:25 +0300 | |
changeset 592 | cbb6732070d8 |
parent 591 | 6c93864064a2 |
child 593 | 37152ba4a7c3 |
--- a/java.rst Thu Sep 30 16:17:14 2010 +0300 +++ b/java.rst Fri Oct 01 10:21:25 2010 +0300 @@ -118,3 +118,12 @@ http://java.sun.com/performance/reference/whitepapers/5.0_performance.html http://java.sun.com/performance/reference/whitepapers/6_performance.html + +* Creating jar. + + $ jar cf myFile.jar *.class + + $ jar cmf myManifestFile myFile.jar *.class + + $ jar -cfe Main.jar foo.Main foo/Main.class +