Open NNoah18 opened 3 years ago
I have experienced many crashes with processing apps when Java was not 'embeded', and when running the generated .exe file on a different PC fitted with the java machine.
This is apparently due to the way processing and java handle the serial port and maybe a problem with the location of some files.
Since then, I always export the app with the 'java embeded' option ticked when I make use of the serial port. And it fixes the crash.
Hi, I am experiencing the same exact problem. The answer from phdv61 isn't really clear to me : does it mean the app needs to be rebuilded ? Until now, I was trying to use the listener precompiled version. I am not familiar to java.
Yes, this is what I would suggest. get processing from processing.org, install the latest java machine from Oracle on your PC, download all listener project file, and rebuild the listener project / export it with the 'java embeded' option ticked.
There is an issue with running an .exe file on a different PC from the one it was built on, when using the serial port.
I found that work around.
Hey, thanks for the very quick answer. I tried it right now, and you were right : it works. Nice !
Hi, I'm having the same problem. I downloaded processing and the latest java. I'm confused on what phdv61 mean by rebuild the listener project. And also, where and what should I export with the java embedded option?
Thanking in advance.
Hi, Open the project in the listener dir (.pde file) with processing. Then, file -> export -> check "java embedded". The app should appear in a build dir. And this time it should work.
Thanks for the report, will generate a new set of listener exe's soon
@devinaconley any chance you're good with c++? If so I got frustrated by this and the weird amount of cpu usage from java and wrote my own interface to work with your library.
When I run the listener.exe it crashes immediately. I downloaded the windows 64 bit stand-alone listener. This is the first part of the log file it makes after crashing: