문제

I'm developing an applet that uses the RXTX library, it works fine on eclipse, but when i export the jar and embed in an html page I get

NoClassDefFoundError: could not initialize class gnu.io.CommPortIdentifier.

I suppose that I don't have to include the jar in the embed tag, because it is included in the java environment extensions, but I tried it and it didn't worked, how can i solve this?

If I include the source of the RXTXcomm library or anything like that, could it work?

도움이 되었습니까?

해결책

Check this question it might help you. As they say the error is probably you don't have ALL RxTx native dependency in the right directory or path.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top