Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem with loading a Java Applet

  Asked By: Bryant    Date: Sep 12    Category: Java    Views: 912
  

I am facing a problem while loading a Applet
in a web-browser. The applet runs fine with
Appletviewer but does not load in Internet Explorer &
the status bar shows a Java Exception which is as
follows:

exception: java.lang.ClassNotFoundException:
java.util.List

What could be the cause of this error?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Raju Srinivas     Answered On: Sep 12

check your java-plugin setting in control panel. make sure its using
the latest jre.

 
Answer #2    Answered By: Neil Turner     Answered On: Sep 12

The problem  was that IE was not using the Java
Plugin. So now while loading  some applets I have to us
the following code in the html file:

<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="500" height="500" align="baseline"

codebase="java.sun.com/.../jinstall-13-win32.cab#Version=\
1,3,0,0">
<PARAM NAME="code" VALUE="sample.class">
No java  2 SDK, Standard Edition v 1.3 support
for APPLET!!
</OBJECT>

The above code uses the latest Java Plugin present on
your system & if the plugin is not present then
downloads it from the URL mentioned in the HTML code.

 
Didn't find what you were looking for? Find more on Problem with loading a Java Applet Or get search suggestion and latest updates.




Tagged: