Creating JAR File

0 views
Skip to first unread message

Sanket Patel

unread,
Dec 28, 2010, 6:00:43 AM12/28/10
to tutorial-and-tr...@googlegroups.com, j2ee...@googlegroups.com, java...@googlegroups.com, jav...@googlegroups.com, net...@googlegroups.com, nokia-ha...@googlegroups.com, onlinemark...@googlegroups.com, opensou...@googlegroups.com, redso...@googlegroups.com, students...@googlegroups.com
The basic format of the command for creating a JAR file is:

jar cf jar-file input-file(s)

Let's look at the options and arguments used in this command:
The c option indicates that you want to create a JAR file.
The f option indicates that you want the output to go to a file rather than to stdout.
jar-file is the name that you want the resulting JAR file to have. You can use any filename for a JAR file. By convention, JAR filenames are given a .jar extension, though this is not required.


                              Read More

--
" Live 2 Love  and Love 2 Live "
Reply all
Reply to author
Forward
0 new messages