Cannot run processing-java from bashfile; but works directly from terminal

hi richardDL, thanks for the welcome.
Yes, my problem might be solved if i would export the application correctly as you have, and not start the processing gui with the sketch as argument. But i’ve had multiple problems with exporting my sketch as application from and to raspberry pi, so i’ve hoped to circumvent this by just starting the processing gui with the sketch parameter. I’m not aware of any downsides to this, apart from maybe small performance issues?

I “solved” this with the solution to my other question - owner/group owner of the tmp folder gets changed each time:

But i guess next test would be to export the application and see if the problem persists.

thanks!