Java applet with rxtx components for serial communication

前端 未结 1 768
轮回少年
轮回少年 2021-01-07 05:31

I am trying to build an applet that can open a serial port and communicate with the same. I have used rxtxcomm.jar for the serial communications. I have an applet built that

1条回答
  •  悲&欢浪女
    2021-01-07 05:45

    Just had the same problem. Please make sure that the first call to RXTX library is in doPrivileged block. If it will try to load library before privileged block - it will fail with this error.

    Some additional info: http://hacky.typepad.com/blog/2009/05/using-rxtxcomm-in-applets.html

    0 讨论(0)
提交回复
热议问题