title: Java lib to change the icon used by an .exe
body: <p>We have a netbeans-platform application, that creates a custom runnable <code>.exe</code> with the default NetBeans icon - as you can guess, when customers install it, they are not happy.</p>
  
  <p>This <a href="http://wiki.netbeans.org/DevFaqExecutableIcon" rel="nofollow noreferrer">NetBeans Wiki article</a> and this <a href="http://netbeans.org/bugzilla/show_bug.cgi?id=64612" rel="nofollow noreferrer">NetBeans Bug</a> (closed as wontfix) indicate that the platform can't do it natively, and suggest the use of a third-party executable to do it.</p>
  
  <p>However, having a binary executable in our svn repo being called by maven during build time leaves me (and my boss) quite unhappy. </p>
  
  <p>Is there a library <strong>in Java</strong>, preferably available in maven, that can change the icon an <code>.exe</code> file uses?</p>
  
  <p>EDIT: Upon further research, I found <a href="https://stackoverflow.com/questions/8659286/replacing-icon-in-windows-exe-from-open-source-platform-independent-java-code">this SO question</a>... that wasn't answered either.</p>
  
  <p>EDIT2: We are also <strong>not</strong> looking for another packager that can create an <code>.exe</code> for us. We are happy with the default NetBeans' Platform one, and it's already quite well integrated with our dev/release cycle.</p>