-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nrjavaserial in OH2.5 #171
Comments
AFAIK it only crashes with Java 11 on Windows (openhab/openhab-core#1384). nrjavaserial 5.2.1 has a file descriptor leak NeuronRobotics/nrjavaserial#111 so instead increasing stability you might decrease it with this new version. 😉 |
Ooookay ... so is OH 2.5 to crash on LINUX Java 11 due to serial fake news or worth pursuing ? |
No @J-N-K told me in further private communication that it's about Windows only and that he has no knowledge about crashes on Linux. But I thought I read it elsewhere, too. |
I have never seen nrjavaserial crash on Linux with Java 11. So it would be nice to know who did see it crash and what JVM/architecture/OS/32|64-bit combo this is. |
ok so I'll put this issue here on hold. |
OH 2.5 on Java 11 is suspected to fail on using the serial interface because of an older version of the nrjavaserial library to cause this.
While a newer fixed version of the lib exists -confirmed to work with OH3-, unfortunately as the OH core is frozen this will not be put to use with OH 2.5 any more by means of OH packages.
@wborn has provided a "back-versioned" nrjavaserial to work with 2.5 at https://github.com/wborn/nrjavaserial/releases/download/reversioned521/nrjavaserial-3.15.0.OH2.jar but AFAIK it has not yet found its way into 2.5 where we're just asking people to test-drive Java 11.
I'd like you to include this with the current OH2.5 packages.
FWIW, here's my openhabian script sniplet.
But I think you could simply replace the jar at its location.
The text was updated successfully, but these errors were encountered: