创建mainfest file
echo 'Main-Class: Entry' > manifest.mf
echo 'Class-Path: . /usr/....../jconn3.jar' >> manifest.mf
Class-Path配置look at http://blog.csdn.net/zhouyong0/article/details/7517055
生成jar文件
jar cvfm test.jar manifest.mf Entry.class
更新jar文件 jar uvf test.jar -C ~/programming/java/workspace Entry.java
查看jar文件内容 jar tvf test.jar
运行jar文件 java -jar test.jar

解压jar文件
jar xvf test.jar

相关文章:

  • 2021-10-30
  • 2021-10-19
  • 2021-05-21
  • 2021-07-03
  • 2021-09-15
  • 2021-08-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2021-11-28
  • 2021-12-14
  • 2021-06-05
  • 2022-12-23
相关资源
相似解决方案