The Artima Developer Community
Sponsored Link

Java Answers Forum
what is this jar command for

1 reply on 1 page. Most recent reply: Aug 6, 2004 12:27 AM by Sreenivasarao Venepalli

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 1 reply on 1 page
Mathew

Posts: 6
Nickname: mam
Registered: Jul, 2004

what is this jar command for Posted: Aug 5, 2004 7:07 AM
Reply to this message Reply
Advertisement
I want to know what this jar command is used for.
Can we use it for creating a jar file of a single java program...
Suppose i hav a multi threading program...
When compiled two classes are formed.
how can we make it a jar file and how can it be run


Sreenivasarao Venepalli

Posts: 1
Nickname: srinuv
Registered: Aug, 2004

Re: what is this jar command for Posted: Aug 6, 2004 12:27 AM
Reply to this message Reply
> I want to know what this jar command is used for.
> Can we use it for creating a jar file of a single java
> ava program... Suppose i hav a multi threading program...
> When compiled two classes are formed.
> how can we make it a jar file and how can it be run

jar -cvf filename.jar src

here c-create
v-verbose output
f-filename(user mentioned)
src=source files to make jar file.

Flat View: This topic has 1 reply on 1 page
Topic: using jar Previous Topic   Next Topic Topic: java.lang.NullPointerException returned from webservice

Sponsored Links



Google
  Web Artima.com   

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