1)编辑清单文件
2)在一个目录中聚齐所有需要的类文件
3)如下运行jar工具
jar cvfm JarFile ManifestFile ClassFile
例如
jar cvfm ImageViewerBean.jar ImageViewerBean.mf imageViewer/*.class
1)编辑清单文件
2)在一个目录中聚齐所有需要的类文件
3)如下运行jar工具
jar cvfm JarFile ManifestFile ClassFile
例如
jar cvfm ImageViewerBean.jar ImageViewerBean.mf imageViewer/*.class