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
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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: 8712
off to the intermediate forum...


Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

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: 8441

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


[Donate a pint, save a life!] [How to ask questions] [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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: options in jar files....
 
Similar Threads
JAR tool
Splash screen image
java web start application unable to launch
about splash screen with jar file...
Web start problem