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: 1195

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

exception: java.lang.ClassNotFoundException:

What could be the cause of this error?



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:

width="500" height="500" align="baseline"

<PARAM NAME="code" VALUE="sample.class">
No java  2 SDK, Standard Edition v 1.3 support
for APPLET!!

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.