开发者

RXTX x64 and x86

开发者 https://www.devze.com 2023-04-05 17:02 出处:网络
I\'ve a software where I use RXTXcomm.jar on an applet java and inside applet I\'m communicating with port serial, so, I need to communicate and it works with 2 versions, x86 and x64, but RXTXcomm.jar

I've a software where I use RXTXcomm.jar on an applet java and inside applet I'm communicating with port serial, so, I need to communicate and it works with 2 versions, x86 and x64, but RXTXcomm.jar has the same name to 2 files, How can I u开发者_如何学编程se both jars in my application?


The jar (RXTXcomm.jar) is the same as offers the API. The difference is the native implementation (dll in Windows), so you can try to generate different applets for different platforms supported and let user choose the right one. Another way is trying to bundle all native libraries and could work. (checked rxtx-2.1-7-bins-r2.zip version contents).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号