0

Every time I try to run my rxtx program on my raspberry pi, I got this issue:

java.lang.NoClassDefFoundError: gnu/io/SerialPortEventListener

I installed the rxtx library and still get this issue.

Thanks :)

KishuDroid
  • 5,411
  • 4
  • 30
  • 47
  • 1
    Have a look at http://stackoverflow.com/questions/12543202/rxtx-installation-on-windows-java-lang-noclassdeffounderror-gnu-io-commport - java.library.path must point to where the library is on disk. – fvu Apr 16 '16 at 10:58
  • @fvu I tried that but I still get the same issue. – lolsniperftw Apr 16 '16 at 11:22
  • Managed to fix the issue but now another one popped up: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path – lolsniperftw Apr 16 '16 at 13:40

0 Answers0