After updating Java to the latest version jre8u261 a couple of my Processing apps now crash when I try to open a Serial (COM) port. They worked fine with jre8u251 that I had installed.
The apps run ok in the Processing IDE but the exported versions crash. I did find that if I export with the ‘Embed Java for Windows (64-bit)’ option checked then they do work.
I will try to upload a simple sketch to illustrate this but has anyone else seen this or a similar issue? I am using the G4P library and the crash occurs when I select the required COM port from a G4P droplist.
I can post the Java error log file if that would help?
Thanks for the info glv - I wasn’t sure which Java Processing was embedding but testing it showed it works! Do the apps exported with the Java embedded also work on Windows 32-bit OS?
We strongly recommended that you embed Java with your application. Not including it opens a pandora’s box of problems that can happen when people try to run your project.
Many thanks again glv. I now have both 32-bit and 64-bit versions of Processing installed and can export my apps with either, one embeds a 32-bit Java and the other a 64-bit Java.
It’s worth the extra download size of embedding the Java to make sure all my users can get the apps to work on their systems.