This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "options in jar files...." Watch "options in jar files...." New topic

options in jar files....

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
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

Joined: Oct 14, 2002
Posts: 8801
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

Joined: Jun 24, 2003
Posts: 3274

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

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

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
thanks for response i got the solution
thank you....
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: options in jar files....
Similar Threads
about splash screen with jar file...
java web start application unable to launch
Splash screen image
Web start problem
JAR tool