Archived

This topic is now archived and is closed to further replies.

Peter Svensson

[java] Running a Java game on webpage....

Recommended Posts

Im currently making a Arkanoid clone... How neat it would be if you too were able to play this magnificent game =) So i thought i would put it on my website. But when i do that i get the following error: Exception java.lang.classnotfoundexceptio: java.util.timer How do i solve this? //Peter - Marry X-mas!

Share this post


Link to post
Share on other sites
I believe Timer was not included until java1.3. Since most browsers only implement 1.1 (or 1.2 using a plug-in) it will not be available to you. You could always use an alternate method of timing or write your own Timer class.

Share this post


Link to post
Share on other sites