Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assigning a custom icon to an executable .jar in Windows NT

 
Dave Montalvo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody know how to assign a custom icon to an executable .jar in Windows?
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually don't add the icon to the .jar itself, but rather create a shortcut to the .jar and add the icon there. Don't know if this helps you, but that was my solution.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From http://java.sun.com/j2se/1.3/runtime_win32.html :

Icons for Jar-Packaged Applications
You can give your application's Jar file a customized icon. The easiest way to do so is to create a Windows shortcut for your application and set its icon to be your custom icon. This can be done by your application's installer program. You can create a custom icon using any icon editor. An icon editor is contained in many commercial development environment such as Visual C++.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic