Solved

Changing Jar Icon

Posted on 2006-07-14
8
415 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

773 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