Thanks for the advice, but thats more of a work-around instead of an actual fix. 32bit is going the way of the Dodo as each day passes. Anything newer than Java 8 doesnt even have 32 bit.
Good luck. The last time this was updated was January 2014. I think if you want 64 bit compatibility, then
1) hopefully find another library
2) modify the code on your own
If successful with either #1 or #2, post a link to the updated library to the forum, since this has been a long and ongoing issue with JSSC.
I see. So is the source code of JSSC DLL available?
If so, then maybe a trip to the MSDN for migration information on serial ports from Win7 and older, to Win10 might reveal the issue. Or maybe simply a recompile on the modern OS with updated C++ runtimes fixes it, I dunno.
I dont know any of those languages so anything I do would be a crapshoot anyways. But maybe not, as I was able to fix my dylib for Mac OS for a USB dongle I have by simply recompiling on the target OS.
replaced the JSSC dll with a more recent recompiled one, it was missing a couple depencies so I grabbed those DLLs and put them in my app folder, while replacing the native dll with the newer one.
its running! x64 Java 10.0.2 currently. I cant get Java 11 to work at all. Keeps throwing JavaFX missing errors, even Erel's download from the tutorial is doing the same thing, although I have NOT recompiled against Java 11. Just Java 8.
I do get a native vs java version mismatch on jssc, 2.8 vs 3.2 But it works!
I recompiled the DLL once again removing the other external runtime DLL dependency requirements.
I Left it at 2.8.0 in case the GIT repository eventually gets updated. However this will require you to clear the .jssc cache out of your User folder in windows.
Everything is still working fine. Will upload shortly.
In case anyone ever wants to recompile it themselves, you can use this: (modify paths to your own)
In case anyone is curious, This is the project I am working on that I needed this for. One of my biggest B4J projects as of yet. And its in use currently at the school.
A link to the video of this thing in action (shown at various times during game)
Can someone please point me to this fixed jssc.jar?
The repository seems to have the latest file dated 2014.
I'm having the same problem with jSerial crashing under OpenJava11. As suggested by Erel here and in other threads, it works OK if I use a 32 bit Java 8 but I'd like to use OpenJava11 64 bit if possible.