制作一个jar文件 [英] making a jar file

查看:104
本文介绍了制作一个jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为客户端/服务器应用程序编写了代码.然后去

I have written a code for client/server application. and I go to

properties>包装

properties>packaging

用于为其创建一个jar文件.但是当我运行服务器端然后运行客户端时!它不会为我的应用程序创建jar文件!我该怎么办?请帮我谢谢

for making a jar file for it. but when I run my server side and then client side ! it doesn't make the jar file for my application! what should I do? please help me thanks

推荐答案

使用它制作可执行的jar

Use this to make an executable jar

jar cf jar-file input-file(s)  

或者,您也可以编写ant脚本来完成

or alternatively you can write ant script to do the same

这篇关于制作一个jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆