# Export with serial () library does not work

**URL:** https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417
**Category:** Electronics (Arduino, etc.)
**Created:** [April 16, 2021, 6:02pm UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417 "2021-04-16T18:02:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Liu.Exit](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@Liu.Exit](https://discourse.processing.org/u/Liu.Exit)
#### Post date: [April 16, 2021, 6:02pm UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/1 "2021-04-16T18:02:18Z")

</div>

Good morning all,  
My sketch works fine with IDE but after an export (.exe) the program crashes. (Both x32 and x64.) This only happens when I introduce the SERIAL library.  
Anyone know why?  
I am not the only one with this problem.  
Thank you.  
PS: excuse my very poor English …

---

<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: [April 16, 2021, 7:06pm UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/2 "2021-04-16T19:06:27Z")

</div>

Hi,

Welcome to the forum! 😉

Can you run the program from the command line and tell us if there’s an error or any kind of output in the console?

Also you can give the details about the Processing version / library you are using and your operating system.

---

<div class="post-metadata">

### Author: ![Liu.Exit](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@Liu.Exit](https://discourse.processing.org/u/Liu.Exit)
#### Post date: [April 17, 2021, 6:33am UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/3 "2021-04-17T06:33:26Z")

</div>

Hello,  
With the command line nothing happens except the appearance in the task manager of  
“Java ™ Platform SE binary”.  
I have to modify a sketch written with

- Processing 2.1.2 (I must not use Processing 3)

- ControlP5 2.1.2

under WINDOWS 8.1 (x64)  
I have tried several versions of ControlP5, Processing X32, Processing X64…  
nothing happens and the program hangs.

Thank you for your help

---

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [April 17, 2021, 7:24am UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/4 "2021-04-17T07:24:38Z")

</div>

That seems very difficult to fix given the version you are using. At least can you share the code?

---

<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: [April 17, 2021, 10:21am UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/5 "2021-04-17T10:21:38Z")

</div>

> [@Liu.Exit](#):
>
> I am not the only one with this problem.

Have others got it working?

I suggest getting a working copy and trying it on your PC to see if that is the issue.

> [@Liu.Exit](#):
>
> I have to modify a sketch written with
> 
> - Processing 2.1.2 (I must not use Processing 3)
> - ControlP5 2.1.2

Why the constraints on this?

`:)`

---

<div class="post-metadata">

### Author: ![Liu.Exit](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@Liu.Exit](https://discourse.processing.org/u/Liu.Exit)
#### Post date: [April 19, 2021, 9:40am UTC](https://discourse.processing.org/t/export-with-serial-library-does-not-work/29417/6 "2021-04-19T09:40:56Z")

</div>

I found !  
I have removed JAVA RE. from my computer. When I run the sketch, it asks for JAVA RE 1.7.0.40 version. (old version)  
Now I will still try to upgrade to Processing 3.  
Thank you.
