Changing Jar Icon

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

I am using Apache ANT script for building Jar Files
LVL 1
sree032397Asked:
Who is Participating?
 
objectsCommented:
Its OS dependent, for example in Windows you can just change the icon used to diusplay *all* .jar files.
0
 
colr__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.
0
 
objectsCommented:
see "Making Jar Files Double Clickable" here:
http://mindprod.com/jgloss/jar.html

shows how to specify jar icon in woindows
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
girionisCommented:
As already stated this is os dependent. Here is a tool that will help you do it: http://www.angusj.com/resourcehacker/
0
 
kaliyugkaarjunCommented:
If you do need this feature consider a Executable wrapper such as Launch4J

http://launch4j.sourceforge.net/
0
 
RoyalNepalCommented:
You need to change the icon in Manifest/JAD file.....there should an option to add an attribute in manifest or JAD file...you 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.
0
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.