Re: [Ikvm-developers] RXTX already loaded in another classloader
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2008-05-23 04:48:27
|
This could be caused by a stack walking difference in Mono on ARM. You can get more detailed information if you enable the JNI diagnostics switch in your app.config: <?xml version="1.0"?> <configuration> <system.diagnostics> <switches> <add name="jni" value="4" /> </switches> </system.diagnostics> </configuration> Regards, Jeroen > -----Original Message----- > From: ikv...@li... [mailto:ikvm- > dev...@li...] On Behalf Of Jim Redman > Sent: Friday, May 23, 2008 04:23 > To: ikv...@li... > Subject: [Ikvm-developers] RXTX already loaded in another classloader > > I've been fighting with this for a while and made no progress, > suggestions would be appreciated. > > This is code all works on FC8, on Debian/ARM I get the following error > while trying to load the RXTX package. > > Experimental: JNI_OnLoad called. <<< this is the library loading > java.lang.UnsatisfiedLinkError: Native library ./librxtxSerial.so > already loaded in another classloader thrown while loading > gnu.io.RXTXCommDriver > > Unhandled Exception: System.TypeInitializationException: An exception > was thrown by the type initializer for gnu.io.CommPortIdentifier ---> > java.lang.UnsatisfiedLinkError: Native library ./librxtxSerial.so > already loaded in another classloader--- End of inner exception stack > trace --- > > at com.ergotech.vib.ports.SerialWrapper.setPort (Int32 ) [0x00000] > > > Thanks, > > Jim > > -- > Jim Redman > (505) 662 5156 x85 > http://www.ergotech.com > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers |