Solved

Changing Jar Icon

Posted on 2006-07-14
8
395 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

762 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

21 Experts available now in Live!

Get 1:1 Help Now