質問

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