RE: Timer and TimerTask class

"Rohan Deshpande" <rohan-TBo7Y5mltt/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <D6F4CBA5565BED459B5E5921D3870E4C1CB31A@netfinity.marlincontrols.com>
Hi Simon,

Edit Timer.java and TimerTask.java and remove the package statement.

Thanks,
Rohan Deshpande
rohan-TBo7Y5mltt/[email protected]
 
-----Original Message-----
From: Simon Atkin [mailto:simat-3SXP1VszRfLHw4XjFiadG1pr/1R2p/[email protected]] 
Sent: Monday, February 02, 2004 5:18 AM
To: tini-6tN4nzCoH/[email protected]
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(TINIClassLoa
der.
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(TINIClassLoa
der.
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.