Changing Jar Icon

How can I change the icon of a Jar File??

I am using Apache ANT script for building Jar Files
Who is Participating?

Improve company productivity with a Business Account.Sign Up

objectsConnect With a Mentor Commented:
Its OS dependent, for example in Windows you can just change the icon used to diusplay *all* .jar files.
colr__Connect With a Mentor Commented:
Alternatvly, youd have to pacakge it up in an exe file (for windows). So you would have an exe file with an icon assigned - this would be your program start, which would simply start the execution of the jar file for you.
see "Making Jar Files Double Clickable" here:

shows how to specify jar icon in woindows
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

girionisConnect With a Mentor Commented:
As already stated this is os dependent. Here is a tool that will help you do it:
kaliyugkaarjunConnect With a Mentor Commented:
If you do need this feature consider a Executable wrapper such as Launch4J
RoyalNepalConnect With a Mentor Commented:
You need to change the icon in Manifest/JAD file.....there should an option to add an attribute in manifest or JAD have to change the name of icon-image and you have to give the class path to the image you wanted to have....

Hope it helps.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.