Re: ConfigRegister class for TSilk

Bruce Boyes <[email protected]> Thu, 20 May 2004 16:54:50 -0600
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
At 08:40 AM 5/20/2004 -0400, you wrote:
>Hey list,
>
>I just compiled a program that uses the ConfigRegister class that is used to
>change settings on the Systronix TSilk.  I was able to get the program
>compiled to a .tini file, but when I ran the program (that implemented the
>ConfigRegister class) it crashed says this:
>
>Unable to load/initialize library:Unable to load
>tstik_spi_native_method_config.tlib
>java.lang.UnsatisfiedLinkError: Unable to load
>tstik_spi_native_method_config.tlib
>    in java.lang.Throwable.???
>    in java.lang.Throwable.<init>(@JPC=90004)
>    in java.lang.Error.<init>(@JPC=90003)
>    in java.lang.LinkageError.<init>(@JPC=90003)
>    in java.lang.UnsatisfiedLinkError.<init>(@JPC=90003)
>    in java.lang.System.gc(@JPC=80130049)
>    in com.systronix.tstik.ConfigRegister.<init>(@JPC=6)
>    in com.systronix.tstik.ConfigRegister.getInstance(@JPC=9000a)
>    in Hvac.Initialize(@JPC=1f0003)
>    in java.lang.System.???
>
>
>How or where do I put or use this file so that when I compile it will not
>have this problem??

You need to build this Java program so that the tini file includes the 
native library. The examples on our website include an Ant file which does 
all this.

http://www.systronix.com/tinistik/downloads.html

Bruce


>Thanks!!
>Joel Rowley
>
>_______________________________________________
>TINI mailing list
>TINI-6tN4nzCoH/[email protected]
>To UNSUBSCRIBE, edit your profile, or see list archives:
>http://lists.dalsemi.com/mailman/listinfo/tini

------- WWW.SYSTRONIX.COM ----------
   Real embedded Java and much more
www.jrealtime.com and www.tstik.com
+1-801-534-1017  Salt Lake City, USA  


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini