Re: UnsatisfiedLinkError with Tini 1.12 and CRC16
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <015101c40b6f$40b537b0$764000b4@kardis> |
Remove 'tiniclasses.jar' from the /jre/lib/ext directory, this file contains the classes that actually run on TINI. It is trying to run TINI's native CRC16 method. 'tiniclasses.jar' should never be in your classpath, it should only show up in your compile bootclasspath. Kris ----- Original Message ----- From: "Nelson Lai" <wnellie-DPNOqEs/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Tuesday, March 16, 2004 5:37 AM Subject: [TINI]UnsatisfiedLinkError with Tini 1.12 and CRC16 > 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 _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini