Solved

Changing Jar Icon

Posted on 2006-07-14
8
437 Views
Last Modified: 2008-03-10
How can I change the icon of a Jar File??

I am using Apache ANT script for building Jar Files
0
Comment
Question by:sree032397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
ID: 17107250
Its OS dependent, for example in Windows you can just change the icon used to diusplay *all* .jar files.
0
 
LVL 8

Assisted Solution

by:colr__
colr__ earned 100 total points
ID: 17107261
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
 
LVL 92

Expert Comment

by:objects
ID: 17107265
see "Making Jar Files Double Clickable" here:
http://mindprod.com/jgloss/jar.html

shows how to specify jar icon in woindows
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 35

Assisted Solution

by:girionis
girionis earned 100 total points
ID: 17107324
As already stated this is os dependent. Here is a tool that will help you do it: http://www.angusj.com/resourcehacker/
0
 
LVL 8

Assisted Solution

by:kaliyugkaarjun
kaliyugkaarjun earned 100 total points
ID: 17107651
If you do need this feature consider a Executable wrapper such as Launch4J

http://launch4j.sourceforge.net/
0
 
LVL 2

Assisted Solution

by:RoyalNepal
RoyalNepal earned 100 total points
ID: 17113494
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question