|
Author |
Topic: absent class file (Read 398 times) |
|
Vair
|
absent class file
« on: Nov 8th, 2004, 3:50am » |
|
Hi, brand new user here. I've looked around to see if I can find other posts covering the same problem but could not. I can't imagine that I'm the only one though. When I export a sketch for the web, the browser fails to load the applet (error message: Java.lang.ClassNotFoundException: Filename ). I'm reading through a tutorial linked from this site and I gather that the applet folder should contain a filename.class file which does not appear for me (68, OS X 10.2..
|
|
|
|
fjen
|
Re: absent class file
« Reply #1 on: Nov 8th, 2004, 5:05pm » |
|
can't tell where the exception is coming from, but export-for-web creates a jar containing the classes ... so in that folder there should be a Filename.jar. you can extract the classes in that jar using stuffit-expander or else. it's actually a zip-file. /F
|
|
|
|
Vair
|
Re: absent class file
« Reply #2 on: Nov 8th, 2004, 5:30pm » |
|
Looks like I jumped the gun a bit there then. I've just done a check with all the browsers I have on this machine and the applet works in safari and IE 5.2 Mac and only fails the three Moz browsers (Moz, Camino and Firefox). I was browsing the exhibition section of this site last night with firefox and didn't encounter the same problem with any of the applets there. Would it make a difference running applets locally or might it have something to do with the version of Java used to make the applets?
|
|
|
|
Vair
|
Re: absent class file
« Reply #3 on: Nov 8th, 2004, 6:09pm » |
|
... it works fine running on a web server.
|
|
|
|
|