当前位置: 技术问答>java相关
那位知道在一个.jar文件中追加一个.class文件用什么参数?
来源: 互联网 发布时间:2015-02-22
本文导语: | jar -uf [the primal jar file] files, For example, ______________________________________________________________________________ You had jar file Friends.jar, You want to add file Tom.java, Jimy.java, Kitty.java into it, so, you just need to do like ...
|
jar -uf [the primal jar file] files,
For example,
______________________________________________________________________________
You had jar file Friends.jar,
You want to add file Tom.java, Jimy.java, Kitty.java into it, so, you just need to do like this,
jar -uf Friends.jar Tom.java Jimy.java Kitty.java
------------------------------------------------------------------------------
Try it.
For example,
______________________________________________________________________________
You had jar file Friends.jar,
You want to add file Tom.java, Jimy.java, Kitty.java into it, so, you just need to do like this,
jar -uf Friends.jar Tom.java Jimy.java Kitty.java
------------------------------------------------------------------------------
Try it.