问题
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