Re: UnsatisfiedLinkError with Tini 1.12 and CRC16
Shawn Silverman <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Just a note -- you shouldn't put the TINI jars into jre/lib/ext -Shawn On 16-Mar-04, at 5:37 AM, Nelson Lai wrote: > Hi, > > I've just recently switched from 1.11 to 1.12, and now applications > that > were converted successfully under 1.11 no longer do so in 1.12. When I > run > TINIConvertor, this is the output I get is listed down below. Is there > any > specific reason it cannot find CRC16 in 1.12, where 1.11 found it > perfectly > fine? I have flashed the Tini with the 1.12 firmware, copied all of > the new > .jars to <jdk>/jre/lib/ext, and compile the program Blinky.java using: > > $ javac -bootclasspath > "c:/tini1.12/bin/tiniclasses.jar;c:/tini1.12/bin/modules.jar" > Blinky.java > > When I run TINIConvertor, this is the output. > > $ java TINIConvertor -f . -o Blink.o -d c:/tini1.12/bin/tini.db > TINIConvertor (KLA) > Version 1.31 for TINI 1.1 > Built on or around August 27, 2003 > Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation. > Adding Native_xmitSPI > Adding Native_testSPI > Getting UNMT...there are 2 user native methods > > Found a user native method!!! MySPI.xmitSPI:(B)I 0 > Found a user native method!!! MySPI.testSPI:()I 1 > Class MySPI, size 305, CNUM 8000, TH Contrib: 56 > Class Blinky, size 149, CNUM 8001, TH Contrib: 19 > > Initial length of the application: 454 > Exception caught: java.lang.UnsatisfiedLinkError: CRC16 > java.lang.UnsatisfiedLinkError: CRC16 > at com.dalsemi.onewire.utils.CRC16.CRC16(Native Method) > at com.dalsemi.onewire.utils.CRC16.compute(Unknown Source) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:1220) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > Exception in thread "main" java.lang.UnsatisfiedLinkError: CRC16 > at com.dalsemi.onewire.utils.CRC16.CRC16(Native Method) > at com.dalsemi.onewire.utils.CRC16.compute(Unknown Source) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:1220) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > > nelson _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini