File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes How to make a jar file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to make a jar file ?" Watch "How to make a jar file ?" New topic

How to make a jar file ?

faisal usmani
Ranch Hand

Joined: Jan 14, 2006
Posts: 139

I want to create a jar file for a client-server programme ,i ma having two main's in my code one for server and the other for client .

Please tell me the way to create a jar file .
John Dell'Oso
Ranch Hand

Joined: Apr 08, 2004
Posts: 130
Rather than giving you the answer straight up, I'll assume you want to do this from the command line. So type jar at the command line and you will get a screen of usage information for this command plus a couple of examples as well. Try it and see how you go.

I agree. Here's the link:
subject: How to make a jar file ?
It's not a secret anymore!