Re: Timer and TimerTask class
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <003e01c3ea58$6be669f0$764000b4@kardis> |
Just putting these files in the classpath will not work. You need to tell TINIConvertor/BuildDependency to build them into your application with '-f' statements. Kris ----- Original Message ----- From: "Simon Atkin" <simat-3SXP1VszRfLHw4XjFiadG1pr/1R2p/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Monday, February 02, 2004 11:13 AM Subject: [TINI]Timer and TimerTask class > Hello, > > Has anyone managed to implement the java.util.Timer and java.util.TimerTask > classes on TINI sucessfully ? > > My test program compiles and runs O.K on the desktop but when I try to > convert for TINI i get the error below, > I've even extracted the java.util.Timer and java.util.TimerTask classes from > the j2sdk1.4.2_03/jre/lib/rt.jar file into a seperate archive local to the > build, all my classpaths look fine to me. Should I be using a different > Timer class ? > > Any ideas ? > > Cheers > > Simon. > http://www.simat.org.uk > > TINI Convert... > java.lang.RuntimeException: Could not finish loading: > java.lang.ClassNotFoundException: Could not find the class > java/util/TimerTask > at > com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClassLoader. > java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > at BuildDependency.main(BuildDependency.java:433) > > > Could not create the application: java.lang.RuntimeException: Could not > finish loading: java.lang.ClassNotFoundException: Could not find the class > java/util/TimerTask > java.lang.RuntimeException: Could not finish loading: > java.lang.ClassNotFoundException: Could not find the class > java/util/TimerTask at > com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClassLoader. > java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > at BuildDependency.main(BuildDependency.java:433) > BuildDependency clean-up complete. > The program did not successfully terminate. > Try running with the '-debug' option to determine the cause. > Exception in thread "main" java.lang.RuntimeException: BuildDependency did > not successfully complete at BuildDependency.main(BuildDependency.java:475) > > note, that it's only complaining about TimerTask... > > > > > _______________________________________________ > 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