Solved

Browser Errors

Posted on 1998-08-31
5
154 Views
Last Modified: 2010-03-30
When trying to run an applet developed with the 1.1.6 JDK - I get the following error in Communicator:

# Applet exception: class Fly not found
java.lang.ClassNotFoundException: java/awt/event/MouseListener
  at java.lang.ClassLoader.defineClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.AppletClassLoader.findClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
* at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.DerivedAppletFrame.run(Compiled Code)
  at java.lang.Thread.run(Compiled Code)

I know there are some problems with Java support with the current browsers - is there a deprecated method that will preclude the error message??

Thanks,

n2chiles
0
Comment
Question by:n2chiles
  • 3
  • 2
5 Comments
 

Author Comment

by:n2chiles
ID: 1223057
Edited text of question
0
 
LVL 3

Accepted Solution

by:
sailwind earned 100 total points
ID: 1223058
This means that the browser is an older version which is using the
JDk 1.02 instead of the JDK 1.1.

MouseListener is part of the new event delegation model with JDK 1.1,
and if the browser cannot find the class, that means it's running 1.02.

Recommendation? You should download the newest version of the
netscape. It will come with the JDK 1.1 support.
0
 

Author Comment

by:n2chiles
ID: 1223059
I am using Netscape Communicator 4.05 and 1.1.6 Java Development Kit

I also, have Navigator and it doesn't work either...

Thanx


0
 
LVL 3

Expert Comment

by:sailwind
ID: 1223060
Hmm.. The program runs fine with your 1.1.6 JDK right?

Try and download the new netscape 4.06, see if that'll fix it.

Navigator is part of communicator. Navigator is the web browsers,
while communicator have the browser along with some extra
email and groupware utilities.
0
 

Author Comment

by:n2chiles
ID: 1223061
Yes,  It works just fine with the appletviewer - that's what was puzzling...

I meant to say Navigator 3.0 not the 4.05 Navigator - sorry...

I will try at home - I have 4.5 and can down load 4.06 (even though 4.5 should offer the same or better) to see - if that fixes it...

Thanx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question