jQuery in Action, 3rd edition
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


Win a copy of Building Microservices this week in the Design forum!
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: 2270
    
    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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jar help
 
It's not a secret anymore!