I have a b4j application working as expected on Linux and Windows .
It runs ok on Mac using b4j-bridge.
I build it without errors using MacSigner v1.0.1 on my Mac, but trying to execute run.command I get an error in the console:
jssc:
java.lang.UnsatisfiedLinkError: Could not load the jssc library: Couldn't load library library jssc
at b4j/jssc.SerialNativeInterface.<clinit>(Unknown Source)
at b4j/jssc.SerialPortList.<clinit>(Unknown Source)
...
Any idea how to add jssc in this context, as the app runs as expected on the same Mac and using the same java through b4j-bridge?
I have an application utilising jSerial which I've developed over time, but I have encountered an error seemingly related to jssc on transitioning it from Java 8 or OpenJDK 11 . When run from the IDE, the application runs as expected and the serial port can be selected/opened and data received...
1. Open jssc.jar with 7zip and extract osx_64\libjssc.dylib
2. Build a release app and copy it to the Mac (or rename tempjar/AsyncInputX).
3. Click on the Link button in MacSigner.
4. Copy libjssc.dylib to build/lib/
5. Click on the package button.