Create jar file

I wrote code for a client-server application. and i go to

properties> packaging

to create a jar file for it. but when I start the server side, and then the client side! it does not make a jar file for my application! what should I do? please help me thanks

0
source share
2 answers

Use this to create an executable jar.

jar cf jar-file input-file(s) 

or alternatively you can write an ant script to do the same

+1
source

If you are a real newbie, I suggest you follow the Java Tutorials

Especially in Jar Files

0
source

Source: https://habr.com/ru/post/1332873/


All Articles