# Processing software not working

**URL:** <https://discourse.processing.org/t/processing-software-not-working/23784>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [September 10, 2020, 10:59pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784 "2020-09-10T22:59:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayvaidya](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Post date:** [September 10, 2020, 10:59pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784/1 "2020-09-10T22:59:44Z")

</div>

I searched but most of the people have issues like the software is crashing after the logo is displayed.  
But, in my case, I can open the editor and my code. But when I click on the Run button to execute the code, I see a new dialog box popped up which is totally blank. Did anyone face any similar issues? Please let me know your suggestions. Thanks in advance.

I had downloaded the 64 but version of the software and unzipped using 7zip just to avoid any confusion.

I downloaded the software from this link [https://processing.org/download/](https://processing.org/download/)

and I am trying to run this code [https://github.com/rogeriobego/oscilloscope-arduino-processing/blob/master/processing/oscilloscope\_4ch/oscilloscope\_4ch.pde](https://github.com/rogeriobego/oscilloscope-arduino-processing/blob/master/processing/oscilloscope_4ch/oscilloscope_4ch.pde)

---

<div class="post-metadata">

**Author:** ![SomeOne](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/someone/32/8639_2.png) [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Post date:** [September 11, 2020, 5:22am UTC](https://discourse.processing.org/t/processing-software-not-working/23784/2 "2020-09-11T05:22:06Z")

</div>

Welcome to the forum.

Have you tried to run something simple like traditional `println("Hello World")` to verify that environment is ok. If that crashes too it’s in environment if not then that big chunk of code has a problem.

---

<div class="post-metadata">

**Author:** ![jayvaidya](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Post date:** [September 11, 2020, 9:49am UTC](https://discourse.processing.org/t/processing-software-not-working/23784/3 "2020-09-11T09:49:28Z")

</div>

Yes, it does give the output, but it again pops up that blank window that I have attached in the image here. I don’t know what is that window. In the other code, it just gives the blank window.

 ![p1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f4fbd109a01616a4ab6685c3316c46988e60e61f.jpeg)

---

<div class="post-metadata">

**Author:** ![SomeOne](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/someone/32/8639_2.png) [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Post date:** [September 11, 2020, 10:44am UTC](https://discourse.processing.org/t/processing-software-not-working/23784/4 "2020-09-11T10:44:52Z")

</div>

Ooh, yes. That’s normal processing IDE behaviour. If you don’t tell processing what size of a window it creates it uses default `size(100,100)` to create the window. Window contains the drawing canvas and it takes input from mouse. I don’t think you can get rid of it, I mean it’s always created, but you can close it at end of the program with `exit()`-function.

---

<div class="post-metadata">

**Author:** ![jayvaidya](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Post date:** [September 11, 2020, 3:43pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784/5 "2020-09-11T15:43:09Z")

</div>

Oh this is interesting to know. I looked up in the code, and I have this line in the setup()

```auto
void setup() {
  size(660, 700); 
  //size(800,700);
  //size(2048,1152);
  frameRate(10);
...

```

Could you tell me where should I put the exit() as I didn’t find the exit() function? Also, I looked up here but don’t know if I have to put the exit in the mousePressed(). Please let me know. Thanks  
[https://processing.org/reference/exit\_.html](https://processing.org/reference/exit_.html)

---

<div class="post-metadata">

**Author:** ![Spaceman1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/spaceman1/32/9970_2.png) [@Spaceman1](https://discourse.processing.org/u/Spaceman1)\
**Post date:** [September 11, 2020, 4:04pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784/6 "2020-09-11T16:04:57Z")

</div>

The exit() function stops the program from running. If you still want the program to run don’t use it to close the window. You can use surface.setVisible() to just take away the window
