File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes jar help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jar help" Watch "jar help" New topic
Author

jar help

akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

i create a program that require other Libraries like jxl etc....... i am using net beans its creating jar file .....

1) how i can provide this program to my customer so that on single click he can run the program from desktop(* some one give idea to create batch file of the jar).
2) if i run the program from command line it display the execution but when click on jar it only display command line and disappear how i can stayed it permanently ?
3) if batch is a good way how to create batch..


Start Earning Online||Start Earning Using Java
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

Howdy, Akhter!

Well champ, that's possible by creating a file called MANIFEST.MF inside a directory called META-INF in the root of your .jar file. For more information, please take a look at the Working with Manifest Files tutorial.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

Roberto Perillo wrote:Howdy, Akhter!

Well champ, that's possible by creating a file called MANIFEST.MF inside a directory called META-INF in the root of your .jar file. For more information, please take a look at the Working with Manifest Files tutorial.



thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar help