The Artima Developer Community
Sponsored Link

Java Answers Forum
how do I make jar files

3 replies on 1 page. Most recent reply: Aug 21, 2002 6:31 PM by Singh M.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
jake

Posts: 83
Nickname: onorok
Registered: May, 2002

how do I make jar files Posted: Aug 20, 2002 9:01 PM
Reply to this message Reply
Advertisement
Ok would someone please tell me in detail as if I were a baby, how to make an executable jar file.
thanks.


Aruna

Posts: 1
Nickname: aruna
Registered: Aug, 2002

Re: how do I make jar files Posted: Aug 20, 2002 10:45 PM
Reply to this message Reply
Hi

To make the jar files place all the classes files (which u want to include in the jar file) in a folder and the give the command


jar cvf filename.jar *.class

In the above command "filename" is the jar file name .

jake

Posts: 83
Nickname: onorok
Registered: May, 2002

Re: how do I make jar files Posted: Aug 21, 2002 6:00 PM
Reply to this message Reply
where do I give the command?

Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: how do I make jar files Posted: Aug 21, 2002 6:31 PM
Reply to this message Reply
at the command prompt, of course.

Flat View: This topic has 3 replies on 1 page
Topic: I run a command from Java Previous Topic   Next Topic Topic: how to do this program

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use