|
Author |
Topic: 0059 windows browsers can't find .class file? (Read 303 times) |
|
rgovostes
|
0059 windows browsers can't find .class file?
« on: Sep 8th, 2003, 9:17pm » |
|
Related topic. I put up a page with a Processing script I wrote (here), and most Windows users that have visited the site report that the applet does not load ("vine.class missing" I think). I extracted the vine.class file from vine.jar and uploaded it into the same directory as the online .jar file, but it still doesn't work. Any ideas
|
|
|
|
arielm
|
Re: 0059 windows browsers can't find .class file?
« Reply #1 on: Sep 8th, 2003, 10:41pm » |
|
on my win2000 + java2, it works... but, from your html page, the following seems "suspect": Code: <applet code="vine" archive="applets/vine.jar" width="320" height="240"></applet> |
| i would avoid putting the .jar file in a different folder as you do for now...
|
Ariel Malka | www.chronotext.org
|
|
|
rgovostes
|
Re: 0059 windows browsers can't find .class file?
« Reply #2 on: Sep 9th, 2003, 3:45am » |
|
Alright, I'll move it out. However, will I be able to store it in a different directory in the future?
|
|
|
|
elout
|
Re: 0059 windows browsers can't find .class file?
« Reply #3 on: Sep 15th, 2003, 2:02pm » |
|
> will I be able to store it in a different directory in the future? You can play-around with the 'codebase' tag that sets your applet directory. ARCHIVE="my_jarfile.jar" CODEBASE="http://www.my_site.com/myapplets/"> or in your case something like this (although I didn`t test it out.); Code: <applet code="vine" archive="vine.jar" codebase="applets" width="320" height="240"></applet> |
|
|
|
|
|
|