# Does Export application work on the Raspberry PI

**URL:** <https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518>\
**Category:** Processing for Pi\
**Created:** [December 19, 2019, 5:13pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518 "2019-12-19T17:13:41Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [December 19, 2019, 5:13pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/1 "2019-12-19T17:13:41Z")

</div>

I want to be able to make an application that will work without installing Processing on the PI. I’ve tested this on a Windows installation and can make an application that will run on a windows machine without loading Processing. When I try this from within the Raspberry Pi environment I do not see an apllication that I can run.

Does this work on the PI.

---

<div class="post-metadata">

**Author:** ![pacolux](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pacolux/32/1893_2.png) [@pacolux](https://discourse.processing.org/u/pacolux)\
**Post date:** [December 19, 2019, 6:22pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/2 "2019-12-19T18:22:23Z")

</div>

I just tried a simple program on my RasPi with Processing version 3.5.3 and it worked fine. It will produce several linux versions but the one you are interested in is /application.linux-armv6hf.

K

---

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [December 19, 2019, 8:29pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/3 "2019-12-19T20:29:27Z")

</div>

OK, thanks I will retest.

---

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [December 20, 2019, 3:24am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/4 "2019-12-20T03:24:25Z")

</div>

Ok, I see all of the folders that are generated when I export, and I see the one that says “ARM”, but I do not see anything that looks like an executable. Can you point me to that? When I do it on a windows application it’s quite obvious what the executable is.

---

<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:** [December 20, 2019, 7:14am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/5 "2019-12-20T07:14:22Z")

</div>

![RPI_processing_export1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a9905b51a4abf3e0c8a1de0264d952fb0eb2be25.jpeg)

 ![RPI_processing_export2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/3a8cc7b3fa7e12367540bcad931f090fa000c261.jpeg)

 ![RPI_processing_export3](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c34196a14910e3642beb87c4eee99d87c7c5dceb.jpeg)

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

yes, the dir contains a executable file typ sh

```auto
#!/bin/sh

```

starting java using … /lib/RPI\_processing\_export.jar

* * *

a auto start at boot

[Start up export file with processing on raspberry pi 3](https://discourse.processing.org/t/start-up-export-file-with-processing-on-raspberry-pi-3/10040/10) find here

---

<div class="post-metadata">

**Author:** ![pacolux](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pacolux/32/1893_2.png) [@pacolux](https://discourse.processing.org/u/pacolux)\
**Post date:** [December 20, 2019, 1:04pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/6 "2019-12-20T13:04:49Z")

</div>

The file in the folder is a startup script. Double Click it and see if you get a question to execute it. Just click Execute.

K

---

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [January 13, 2020, 1:21am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/7 "2020-01-13T01:21:25Z")

</div>

Finally getting back to this after a break.  
OK, I found there was an issue exporting a file which was loaded from a thumb drive. I did not create all of the files in the multiple directories when i exported.

If I move the file that I want to export into the sketchbook directory on the Pi and then export, All of the files are generated and I can run the bash file.

However, when I move the sketchbook folder that contains all of the exported files and try to execute on a clean build that does not have processing installed, it just hangs.

Am I missing something. I thought the idea of the export was to proved a complete package that you could give to someone who is not running processing.

Am I doing something wrong?  
Have you tried it on a fresh Raspian build that does not have Processing installed.

Any help or suggestions would be appreciated.

Thanks  
Michael

---

<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:** [January 13, 2020, 2:23am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/8 "2020-01-13T02:23:05Z")

</div>

> [@michaelkpierce](#):
>
> I thought the idea of the export was to proved a complete package that you could give to someone who is not running processing

yes, that is the idea,

but sorry, i did not test this on RASPBIAN

> [@michaelkpierce](#):
>
> Am I doing something wrong?

your description is a little bit poor to see that?

-a- can you try that with a original processing example what NOT use any library  
-b- can you confirm that you for export click [linux] and [embed java]  
-c- can you make sure that you use the linux way for transport, like .zip of .tar  
just copy file to usb stick and copy back might not work with linux app files.  
also run from USB drive does usually not work

* * *

---

<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:** [January 13, 2020, 5:06am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/9 "2020-01-13T05:06:01Z")

</div>

UPDATE:

i export one of my templates  
copy to PC  
setup new RPI Buster and update  
copy to new sketchbook unzip  
run

> so i tested to run a export on a RPI without processing

[details](http://kll.engineering-news.org/kllfusion01/articles.php?article_id=167)

---

<div class="post-metadata">

**Author:** ![RIN67630](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@RIN67630](https://discourse.processing.org/u/RIN67630)\
**Post date:** [January 15, 2020, 1:54pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/10 "2020-01-15T13:54:47Z")

</div>

I have tried with a fresh curl install of Processing on a current Raspberry Pi Stretch.  
The examples are running well inside the processing GUI\*, but when I export the examples (e.g.MixtureGrid), I get 4 folders and in the folder  
application.linux-armv6hf  
the sh file upon a double click asks to execute or execute in terminal.  
If you chose execute it will do nothing visible  
If you chose execute in terminal it will open an error Failed to execute child process xterm (no such file or directory)

Additional info: I am running VNC.  
Running within the IDE, the MixtureGrid example is displayed on the HDMI screen, but NOT on VNC, which shows only a black window.  
The compiled MixtureGrid misbehaves identically if I control it from a Keyboard/mouse/Scrren or over VNC.

P.S. I compiled without the JAVA libraries since I have Oracle JAVA8 installed already.

---

<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:** [January 15, 2020, 2:46pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/11 "2020-01-15T14:46:14Z")

</div>

the above procedure and pictures are related to newest RASPBIAN Buster ( on a RPI 3B+ )  
but this also worked on the older RASPBIAN stretch

did you click on [EMBED JAVA for Linux 32bit] ?  
NO,

> [@RIN67630](#):
>
> P.S. I compiled without the JAVA libraries since I have Oracle JAVA8 installed already.

so with this i can not help you.  
but somewhere is documentation how to use external installed JAVA from processing.

any reason why you just have to do that differently?

* * *

for VNC please use  
options / troubleshooting / enable direct capture mode

 ![VNC_options_DirectCaptureMode](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/7/7d8e4f51567d21b6313b0969d856d983c993ebc8.jpeg)

still for most of the work i have that switched OFF

---

<div class="post-metadata">

**Author:** ![RIN67630](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@RIN67630](https://discourse.processing.org/u/RIN67630)\
**Post date:** [January 15, 2020, 2:58pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/12 "2020-01-15T14:58:32Z")

</div>

Thank you both works now!  
I have assumed that having Java8 already installed could work, but I was wrong.

---

<div class="post-metadata">

**Author:** ![jbirdlebough](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jbirdlebough](https://discourse.processing.org/u/jbirdlebough)\
**Post date:** [January 17, 2020, 6:38am UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/13 "2020-01-17T06:38:32Z")

</div>

So on

RPI4 Buster, open file browser, Edit-Preferences and turn on check box for Don’t ask options on launch executable. That stops the execute, execute in terminal non-sense.  
J

---

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [January 29, 2020, 3:39pm UTC](https://discourse.processing.org/t/does-export-application-work-on-the-raspberry-pi/16518/14 "2020-01-29T15:39:16Z")

</div>

Thanks for your help. I got it working. It was the copy mechanism. When I used zip to transport the files it works.
