# Processing doesn't run my code

**URL:** https://discourse.processing.org/t/processing-doesnt-run-my-code/12620
**Category:** Processing
**Created:** [July 9, 2019, 10:26am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620 "2019-07-09T10:26:56Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Mahrokh](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Mahrokh](https://discourse.processing.org/u/Mahrokh)
#### Post date: [July 9, 2019, 10:26am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/1 "2019-07-09T10:26:56Z")

</div>

I have Processing 3.4 on Windows 10. When I press the run button, it doesn’t do anything. I tried running simple sample sketches with no result. I’ve had this problem before, but I just restarted my computer and it would start working. Now it doesn’t. Not sure what I am supposed to do.  
Any suggestions?

---

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [July 9, 2019, 10:59am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/2 "2019-07-09T10:59:39Z")

</div>

try reinstall processing?

---

<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: [July 9, 2019, 11:47am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/3 "2019-07-09T11:47:49Z")

</div>

Take a look at preferences and select which display to run sketches on.  
Actually go in and change display even if it seems correct.  
I have had to do this before when my sketch was running in la la land.  
Not had to do it for a while now though…

🙂

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

---

<div class="post-metadata">

### Author: ![Mahrokh](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Mahrokh](https://discourse.processing.org/u/Mahrokh)
#### Post date: [July 13, 2019, 10:18am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/4 "2019-07-13T10:18:42Z")

</div>

Thanks for replying.  
I tried to do this, but it doesn’t let change the display. It’s set to display 1 and it’s not clickable.

---

<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: [July 13, 2019, 11:08am UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/5 "2019-07-13T11:08:45Z")

</div>

Try running manually with one of the “Sketch” tab selections.

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

🙂

---

<div class="post-metadata">

### Author: ![Mahrokh](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Mahrokh](https://discourse.processing.org/u/Mahrokh)
#### Post date: [July 13, 2019, 4:24pm UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/6 "2019-07-13T16:24:24Z")

</div>

Unfortunately, still no results. ☹

---

<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: [July 13, 2019, 5:09pm UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/7 "2019-07-13T17:09:21Z")

</div>

I have 4 versions of Processing on my PC and they all work; sometimes code is “broken” with a new version and I have others to work with.

Consider doing the following:  
0) Save anything and everything before proceeding. 🙂

> **You must backup all your work!**

1. Delete Processing folder.
2. Delete files in \Appdata\Roaming\Processing (in the preferences tab you can click on that)
3. Reinstall. Try different versions.

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

I have had issues in past and have done the above.  
You do so at your own risk .

glv

---

<div class="post-metadata">

### Author: ![Nesto95](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@Nesto95](https://discourse.processing.org/u/Nesto95)
#### Post date: [March 9, 2020, 9:03pm UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/8 "2020-03-09T21:03:20Z")

</div>

hey, did you fixed the problem you had with processing 3.5.3??

---

<div class="post-metadata">

### Author: ![Nesto95](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@Nesto95](https://discourse.processing.org/u/Nesto95)
#### Post date: [March 9, 2020, 9:05pm UTC](https://discourse.processing.org/t/processing-doesnt-run-my-code/12620/9 "2020-03-09T21:05:49Z")

</div>

i have the same issue
