Applet startup error - simple question  
Author Message
gdalevich





PostPosted: 2004-4-15 11:32:00 Top

java-programmer, Applet startup error - simple question Greetings!

I am running into a very strange problem with a very simple code

In my html page I have the following code:

<applet codebase="/" code="InterApplet" width="400" height="150"
name="InterApplet">
<param name="OutFrame" value="outFrame" valuetype="object">
no support for java
</applet>


When I load the page on Windows 2000 machine running IE6 it works fine
- applet loads. However, when I try to open this page on a Windows XP
machine also running IE6 it can't find the applet "load: class
InterApplet not found". I have my custom built web server so I could
actually see that the browser did make a request for InterApplet.class
and web server has served it.

So what in the world is happening?!? This is very frustrating.

I have not done any serious java programming since '97...


Thanks for your time.
 
gdalevich





PostPosted: 2004-4-16 1:41:00 Top

java-programmer >> Applet startup error - simple question Roedy Green <email***@***.com> wrote in message news:<email***@***.com>...
> On 14 Apr 2004 20:31:49 -0700, email***@***.com (gtSasha) wrote
> or quoted :
>
> ><applet codebase="/" code="InterApplet" width="400" height="150"
>
> See http://mindprod.com/jgloss/applet.html
>
> My first rule is, put the Applet in a jar. This seems to make them an
> order of magnitude better behaved. It is much easier to track what is
> going on.

I've tried that, did not work. I've also tried specifying and not
specifying a .class extension, tried to put it (applet) into a
directory and specify path in different ways, nothing works. Man, ...
I wish I had a code to IE so I could debug this thing...
 
gdalevich





PostPosted: 2004-4-16 11:12:00 Top

java-programmer >> Applet startup error - simple question Roedy Green <email***@***.com> wrote in message news:<email***@***.com>...
> On 15 Apr 2004 10:40:45 -0700, email***@***.com (gtSasha) wrote
> or quoted :
>
> >I've tried that, did not work. I've also tried specifying and not
> >specifying a .class extension, tried to put it (applet) into a
> >directory and specify path in different ways, nothing works. Man, ...
> >I wish I had a code to IE so I could debug this thing...
>
> Lets make sure you have Java properly installed. Go to
> http://mindprod.com/jgloss/wassup.html
> and look at what version of Java you have. The latest is 1.4.2_04.
> You may have some hopelessly old version 1.1 from MS.
>
> IF it too won't run, look at the console log for why. It may give us
> a clue.

Yes, that was the problem, thanks. If any one else is runs into a
similar issue there is a good description at
http://java.com/en/download/help/switchvm.jsp and
http://www.microsoft.com/mscorp/java/
 
 
gdalevich





PostPosted: 2004-4-18 0:51:00 Top

java-programmer >> Applet startup error - simple question > Yes, that was the problem, thanks. If any one else is runs into a
> similar issue there is a good description at
> http://java.com/en/download/help/switchvm.jsp and
> http://www.microsoft.com/mscorp/java/

Even more detailed description is here:

http://java.sun.com/products/plugin/