File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "ClassNotFoundException " Watch "ClassNotFoundException " New topic



Joined: Dec 27, 2004
Posts: 16

Java Console Error:

Error loading class: EasyJava
java.lang.ClassNotFoundException: EasyJava
at com/ms/vm/loader/URLClassLoader.loadClass (
at com/ms/vm/loader/URLClassLoader.loadClass (
at com/ms/applet/AppletPanel.securedClassLoad (
at com/ms/applet/AppletPanel.processSentEvent (
at com/ms/applet/AppletPanel.processSentEvent (
at com/ms/applet/ (
at java/lang/ (

My HTML Tag:

<applet name="easyapplet" code="EasyJava.class" width=660 height=180 MAYSCRIPT>

But this is run in Appletviewer.

pl help me

Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
You can actually post as a reply to messages, rather than starting a new thread with the reply. The thread will be easier to follow this way.

Is your class file in the same directory as the html file?

Also, what's that MAYSCRIPT stuff? That may invalidate the Applet tag in IE because it's only valid in Netscape (and Microsoft doesn't like Netscape...)

[ January 12, 2005: Message edited by: Jeff Bosch ]
[ January 12, 2005: Message edited by: Jeff Bosch ]

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Rafik --

Welcome to JavaRanch!

You may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. One name isn't enough. You can change your display name here. Thanks.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: ClassNotFoundException
It's not a secret anymore!