Re: Converting HelloWeb.class to HelloWeb.tini
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <009d01c422f7$3b60e990$764000b4@kardis> |
BuildDependency is also in the 'c:\tini\bin\tini.jar' archive, so you need to point your classpath there. Also, the book examples have been updated with build scripts for newer firmwares: ftp://ftp.dalsemi.com/pub/tini/book_src/new_tini_book_ex.tgz Kris ----- Original Message ----- From: "Michael Dawe" <eeyvmrd-QabDm/[email protected]> To: <TINI-6tN4nzCoH/[email protected]> Sent: Thursday, April 15, 2004 7:45 AM Subject: [TINI]Converting HelloWeb.class to HelloWeb.tini > Hi, > > I'm having a bit of trouble with the above (converting .class to .tini) > > I initially tried the conversion using the template from Dan Loomis but came up with the error as shown below > > > ///////////////////////////////////////////////////////////////////////// > > C:\>java -classpath c:\tini\bin\tini.jar TINIConvertor -f HelloWeb.class -d c:\t > ini\bin\tini.db -o HelloWeb.tini > TINIConvertor (KLA) > Version 1.31 for TINI 1.1 > Built on or around August 27, 2003 > Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation. > Loading class HelloWeb.class from file C:\\HelloWeb.class > Could not finish loading: java.lang.ClassNotFoundException: Could not find the c > lass com/dalsemi/tininet/http/HTTPServer > Exception caught: java.lang.RuntimeException: Could not finish loading: java.lan > g.ClassNotFoundException: Could not find the class com/dalsemi/tininet/http/HTTP > Server > java.lang.RuntimeException: Could not finish loading: java.lang.ClassNotFoundExc > eption: Could not find the class com/dalsemi/tininet/http/HTTPServer > at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass > Loader.java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > Exception in thread "main" java.lang.RuntimeException: Could not finish loading: > java.lang.ClassNotFoundException: Could not find the class com/dalsemi/tininet/ > http/HTTPServer > at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass > Loader.java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > > C:\> > ///////////////////////////////////////////////////////////////////// > > > I had noticed that some people on the list had had this problem in the past and had solved it using BuildDependancy > So I tried this...as shown below > > > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ > C:\>java BuildDependency -f HelloWeb.class -o HelloWeb.tini -d tini.db -addHTTPS > ERVER -p c:\tini\bin\modules.jar > Exception in thread "main" java.lang.NoClassDefFoundError: BuildDependency > > C:\> > /////////////////////////////////////////////////////////////////////// > > But to no avail > > All of the other basic conversions from .java to .class to .tini have worked without a hitch > (ie helloworld and blinky) > > Do i need to add something to my class path? If so, where, and how? > Where is BuildDependency located? > > Am using a Tini400, tstick.72 > > Hoping you can help out > > Cheers > Mike > > _______________________________________________ > 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