# Export exe. from processing 3.5.4

**URL:** <https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783>\
**Category:** Coding Questions\
**Created:** [August 18, 2021, 1:15pm UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783 "2021-08-18T13:15:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHI123](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@CHI123](https://discourse.processing.org/u/CHI123)\
**Post date:** [August 18, 2021, 1:15pm UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/1 "2021-08-18T13:15:08Z")

</div>

Hi,  
I am not sure where to post this question. If it is wrong, kindly tell me.

I export the exe. from my sketch. Like in the following picture.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/1c1a9de8a23f2f695befa373162413e525adb660.png)  
link: [https://forum.processing.org/two/discussion/27156/application-exported-doesn-t-run-if-there-are-images](https://forum.processing.org/two/discussion/27156/application-exported-doesn-t-run-if-there-are-images)  
I get the same file. When I click exe., it only shows grey window and nothing else.  
Why it shows like this?  
The data file is in the sketch folder. My sketch can work by .pde. I also try example code and it can work.

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [August 18, 2021, 5:45pm UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/2 "2021-08-18T17:45:34Z")

</div>

Hi @CHI123,

Welcome to the community! 😉

When you report an issue, it’s always better to provide the operating system you are running on (Linux, Mac or Windows?)

Because it seems that your image shows the same folder structure as in the thread you linked, which in this case is running on Linux and you mention `.exe` which is specific to Windows.

Can you try to run the executable from the command line and copy paste any errors you see?

> <https://superuser.com/questions/876933/running-exe-in-command-prompt>

---

<div class="post-metadata">

**Author:** ![CHI123](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@CHI123](https://discourse.processing.org/u/CHI123)\
**Post date:** [August 19, 2021, 1:29am UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/3 "2021-08-19T01:29:10Z")

</div>

Hi, @josephh

Sorry. I did not notice the link is using in Linux. This is what I see. The data file is in this application\_window64.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6a19869fb90ae5eec33a3604ffc45583867c072f.png)  
I use Win10 64bit. It did not show any error when I click .exe and only grey color window. I test exe. in example code from processing and it can work. I am not sure why it can not work with my sketch.

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 19, 2021, 3:28am UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/4 "2021-08-19T03:28:43Z")

</div>

hi

this code works

# Application exported doesn’t run if there are images

```auto

float x;
float y;
float easing = 0.05;
PImage img1;

void setup() {
  size(640, 360); 
  noStroke();  
  img1 = loadImage ("L.png");
}

void draw() { 
  background(51);

  image(img1, 0, 0, width, height);

  float targetX = mouseX;
  float dx = targetX - x;
  x += dx * easing;

  float targetY = mouseY;
  float dy = targetY - y;
  y += dy * easing;

  ellipse(x, y, 66, 66);
}

```

and after exporting to exe the image presented in data folder

 ![Untitled 219](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/5a3ef6111852059ba508ff03eed5bac585184dbb.jpeg)

and here is exe run

 ![Untitled 218](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/eb2c8f261f0a17352438cd7edbb918adccce4ca1.jpeg)

---

<div class="post-metadata">

**Author:** ![CHI123](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@CHI123](https://discourse.processing.org/u/CHI123)\
**Post date:** [August 19, 2021, 3:39am UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/5 "2021-08-19T03:39:55Z")

</div>

Hi, @jafal

Yeah…with images it can work. But all the things in my data file are exported. In my data file, it includes python script, which is run when I click start from processing interface and also .png images (figure below). How can I test it to know which causes this problem (nothing appear in my window)? Because there is no any error when I click .exe.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/e8ad412c0d0731868d4bac6b7c09da5cbf346932.png)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 19, 2021, 4:31am UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/6 "2021-08-19T04:31:39Z")

</div>

hi

i am sorry i am not familiar with python i am also still learning but in order to get help from whom can help you  
you have to post part of your code

You are gradually explaining the problem until now, in the last post you explained the whole problem

It might be a path issue or something else for that

You just need to post the code

all respect to you

---

<div class="post-metadata">

**Author:** ![CHI123](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@CHI123](https://discourse.processing.org/u/CHI123)\
**Post date:** [August 19, 2021, 7:22am UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/7 "2021-08-19T07:22:50Z")

</div>

Hi,@jafal  
I post the whole code in processing? because it is a large code. I mean that I explain with the text will be more clear?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 19, 2021, 9:45pm UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783/8 "2021-08-19T21:45:12Z")

</div>

> [@CHI123](#):
>
> I post the whole code in processing? because it is a large code. I mean that I explain with the text will be more clear?

Hello,

Your whole code is not required.

Try to generate a minimal, complete and verifiable example:

> **[How to create a Minimal, Reproducible Example - Help Center](https://stackoverflow.com/help/minimal-reproducible-example)**
>
> Stack Overflow | The World’s Largest Online Community for Developers

This process may even help you find a solution to this.

`:)`
