Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2004

Tip: Looking for answers? Try searching our database.

Applet startup error - simple question

Thread view: 
gtSasha - 15 Apr 2004 04:31 GMT
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.
Roedy Green - 15 Apr 2004 09:01 GMT
><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.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
gtSasha - 15 Apr 2004 18:40 GMT
> ><applet codebase="/"  code="InterApplet"  width="400" height="150"
>
[quoted text clipped - 3 lines]
> 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...
Roedy Green - 15 Apr 2004 23:43 GMT
>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.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
gtSasha - 16 Apr 2004 04:12 GMT
> >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
[quoted text clipped - 8 lines]
> 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/
gtSasha - 17 Apr 2004 17:50 GMT
> 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/
Roedy Green - 17 Apr 2004 06:31 GMT
>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".

In future, any time you have a mysterious error message, look up the
likely causes at http://mindprod.com/jgloss/errormessages.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.