# Way to export regular executable files with Processing.js

**URL:** https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370
**Category:** Processing
**Created:** [November 12, 2020, 2:25pm UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370 "2020-11-12T14:25:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![papaboo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/papaboo/32/11236_2.png) [@papaboo](https://discourse.processing.org/u/papaboo)
#### Post date: [November 12, 2020, 2:25pm UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370/1 "2020-11-12T14:25:56Z")

</div>

I know that Processing.js is no longer being developed but I must export my sketch as more like a regular executable program and less like an applet.

First problem is what the system sees the sketch as on Windows: when I go to the task manager, I see the sketch is recognized as two sets of “JAVA™ Platform SE Binary” programs. Isn’t really a way to get it titled with my app name and icon?

And yes, the second problem is the icon. For the icon on the titlebar and taskbar, I’m using the code below:

```auto
PImage icon = loadImage("icon.png");
  surface.setIcon(icon);

```

as suggested [here](https://forum.processing.org/two/discussion/10961/setting-icon-in-processing-3-x#latest).

And for the application icon, I tried changing the default icon of the Processing at `processing-3.5.4-windows64\processing-3.5.4\modes\java\application\sketch.ico`

Windows still doesn’t recognize the icon .on the task manager.

And the last step to the regular executable file is the Software details you get on the ‘Properties’ window. Can I change the version, the author info etc?

Is hacking needed to achieve those things?

I’m thinking of getting a professional code signing for the OS and the clients to see it’s from a verified publisher. Does that procedure allow me to apply any of those things?

Any help is much appreciated.  
Cheers!

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [November 14, 2020, 8:38am UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370/2 "2020-11-14T08:38:01Z")

</div>

I’ve tested this code with the icon image below, and then exported the app (not full screen) without any problems on my windows 64bit. Shutting down the IDE, I just see the executable in the task manager.

```auto
void setup() {
  size(500, 500);
  background(255);
  PImage icon = loadImage("icon.png");
  surface.setIcon(icon);
}

```

![icon](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6afcb5d98c0360acff5686d3771109d532b8f9e8.png)

---

<div class="post-metadata">

### Author: ![papaboo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/papaboo/32/11236_2.png) [@papaboo](https://discourse.processing.org/u/papaboo)
#### Post date: [November 15, 2020, 12:32am UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370/3 "2020-11-15T00:32:35Z")

</div>

Thanks novel.

But I’m only getting “Java™ Platfrom SE Binary” in the task manager after running the \*.exe file in the application.windows64 folder.  
See:

 ![prc](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b9182287e4d77eab68698e28b08b3f8aa6e10fd1.png)

Not exporting full-screen, either.  
Also using 64-bit Windows 10.

What might be the problem?

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [November 15, 2020, 5:03am UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370/4 "2020-11-15T05:03:28Z")

</div>

> [@papaboo](#):
>
> What might be the problem?

Oh, you mean as a process?  
All java based programs will run this; It’s part of the underlying Java virtual machine.JVM Not a problem

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [November 15, 2020, 5:40am UTC](https://discourse.processing.org/t/way-to-export-regular-executable-files-with-processing-js/25370/5 "2020-11-15T05:40:49Z")

</div>

Now I think I understand what you want. You don’t want to change the window icon, but the executable icon, as well as the property description, when you right-click the app.  
This you can achieve with a program called Resource Hacker. You can download it [here](http://angusj.com/resourcehacker/#download).  
[Here](https://www.youtube.com/watch?v=ukHYg7F1hjk&ab_channel=MarxtudorY.T) is also some information how to do it.
