making a jar file

一世执手 提交于 2019-12-12 05:29:36

问题


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

properties>packaging

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


回答1:


Use this to make an executable jar

jar cf jar-file input-file(s)  

or alternatively you can write ant script to do the same

  • Document



回答2:


If you are a real beginner I suggest that you follow the Java Tutorials

Especially the one on Jar files



来源:https://stackoverflow.com/questions/4497068/making-a-jar-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!