How do you change the java exe windows icon?

Posted on 2003-03-06
Medium Priority
Last Modified: 2008-02-26
I can change the windows icon inside an application using a frame.setIcon(""), But my question is how do you change the .exe windows icon.
Question by:Zeroshade
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
  • 2
  • 2
LVL 35

Expert Comment

ID: 8080142
what exe?

Author Comment

ID: 8080192
I created an application for a school project. Used a trial version of exe for java. so now i have an executable file that runs my java application. the name is cccc.exe The cccc.exe file has the default java coffee cup icon.
all my classes are in a .jar file. so im wondering how to change from the default coffee cup to something different.
LVL 35

Accepted Solution

TimYates earned 100 total points
ID: 8080296
you'll have to use a windows resource hacker to edit the MAINICON Resource part of the EXE

Try this:


Author Comment

ID: 8081245
This is exactly what i was looking for and its easy to use as well. Thx

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This video teaches viewers about errors in exception handling.
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.
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

777 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