aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes options in jar files.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "options in jar files...." Watch "options in jar files...." New topic
Author

options in jar files....

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
hi..
In my one of main class i have includes code for splash screen using swing....
so when i am running the code i use this command
java -splash:<image name> Main
--------
I have also created Manifest.txt <Main-Class : Main> file which play the role for Entry file into jar but the Problem is i dont know how to include the option for splash screen...

please Help me out...
Thank You
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
off to the intermediate forum...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Off to the Swing forum!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Where is your image located with relation to the main class?
Also, the manifest file should be called manifest.mf

Check this out on more information on the "splash" attribute.
You can find lots of examples on how to create a jar file with an existing manifest file


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
hi..
thanks for response i got the solution
thank you....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: options in jar files....