Solved

Changing Jar Icon

Posted on 2006-07-14
8
405 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services vs rest web services 16 85
ForLoop Example 3 40
couple of eclipse 5 23
java stored proc example 9 21
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now