"class not found".  
Author Message
Hackman





PostPosted: 2006-7-7 10:09:00 Top

java-programmer, "class not found". I'm getting the dreaded "class not found" error. I've Googled this
error and found that it's quite common, but not in exactly the way I
get it. My applets run fine on my machine, both when tested locally
via a local HTML file, and also when going to website, but gives the
"Class not found" error other machines. Anyone have any idea what
might be wrong?
I suspect it may be a codebase error, but I've tried the following in
my HTML file without success:

<APPLET CODE="moonCalendar.class"
name = "moonCalendar" WIDTH=1000 HEIGHT=350>

<APPLET CODE="moonCalendar.class" codebase="."
name = "moonCalendar" WIDTH=1000 HEIGHT=350>

<APPLET CODE="moonCalendar.class"
codebase="http://www.ckolchak.com"
name = "moonCalendar" WIDTH=1000 HEIGHT=350>

You can see if it works on your machine by going to:

http://www.ckolchak.com/astroCalendar.htm

 
Atif





PostPosted: 2006-7-7 10:17:00 Top

java-programmer >> "class not found". works fine here....



Hackman wrote:
> I'm getting the dreaded "class not found" error. I've Googled this
> error and found that it's quite common, but not in exactly the way I
> get it. My applets run fine on my machine, both when tested locally
> via a local HTML file, and also when going to website, but gives the
> "Class not found" error other machines. Anyone have any idea what
> might be wrong?
> I suspect it may be a codebase error, but I've tried the following in
> my HTML file without success:
>
> <APPLET CODE="moonCalendar.class"
> name = "moonCalendar" WIDTH=1000 HEIGHT=350>
>
> <APPLET CODE="moonCalendar.class" codebase="."
> name = "moonCalendar" WIDTH=1000 HEIGHT=350>
>
> <APPLET CODE="moonCalendar.class"
> codebase="http://www.ckolchak.com"
> name = "moonCalendar" WIDTH=1000 HEIGHT=350>
>
> You can see if it works on your machine by going to:
>
> http://www.ckolchak.com/astroCalendar.htm

 
Hackman





PostPosted: 2006-7-7 10:27:00 Top

java-programmer >> "class not found".
Atif wrote:
> works fine here....

Thanks. What JRE are you running? The friend who couldn't run it on
his was running
1.4 something and thought that might be the problem. I wrote the
applets in 1.5.....

 
 
Bart Cremers





PostPosted: 2006-7-7 14:25:00 Top

java-programmer >> "class not found".
Hackman schreef:

> Atif wrote:
> > works fine here....
>
> Thanks. What JRE are you running? The friend who couldn't run it on
> his was running
> 1.4 something and thought that might be the problem. I wrote the
> applets in 1.5.....

Yep, running fine here on my 1.5. What class does it say it does not
find?

Bart

 
 
Hackman





PostPosted: 2006-7-8 9:40:00 Top

java-programmer >> "class not found".
Bart Cremers wrote:
> Hackman schreef:
>
> > Atif wrote:
> > > works fine here....
> >
> > Thanks. What JRE are you running? The friend who couldn't run it on
> > his was running
> > 1.4 something and thought that might be the problem. I wrote the
> > applets in 1.5.....
>
> Yep, running fine here on my 1.5. What class does it say it does not
> find?

All three of them.

>
> Bart