RXTX x64 and x86
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).
精彩评论