IntelliJ Java IDE
The moose likes Applets and the fly likes Load:class name  not found Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Load:class name  not found" Watch "Load:class name  not found" New topic
Author

Load:class name not found

usman ahmad
Ranch Hand

Joined: Mar 06, 2001
Posts: 46
I have a problem. When I run my applet using the applet viewer it runs fine . But when I try to run the same applet in the browser it says Load:class <name> not found.I did put the class file in the same folder as the html doucment.is there something else I should do.
Please advise.
Usman
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

i get a similar thing when I try to load my Applet
using the URI file://D:/myApplet.html
In the Java Console of the browser, I see
# Applet exception: class iotestApplet could not be loaded
This is probably because, the applet throws some exception,
atleast in my applet, I know for sure.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
usman ahmad
Ranch Hand

Joined: Mar 06, 2001
Posts: 46
That's right , but what should be done so that I am able to run the applets in the browser.
Regards.
Usman
hanumanth reddy
Ranch Hand

Joined: Jun 12, 2000
Posts: 118

Down load the Plugin to run the Applets or place the code to down load the plugin from jav.sun.com site


<a href="http://www.jobklub.com" target="_blank" rel="nofollow">http://www.jobklub.com</a><br /> 'Add Job To Life'
usman ahmad
Ranch Hand

Joined: Mar 06, 2001
Posts: 46
My applets are now running in the browser.
But what I want to do is make the applet run in my Homepage on the internet. For that what procedure should be followed.
Regards
Usman
Swami nathan
Ranch Hand

Joined: Sep 30, 2000
Posts: 57
hi,
upload all the realted class files,html file and images & audio(if any)to the server.
swami nathan.


SCJP, SCWCD, SCEA
usman ahmad
Ranch Hand

Joined: Mar 06, 2001
Posts: 46
Thanks all my applets are working fine.
regards Usman
usman ahmad
Ranch Hand

Joined: Mar 06, 2001
Posts: 46
This question has been answered So the topic is closed!!
 
IntelliJ Java IDE
 
subject: Load:class name not found
 
Threads others viewed
Problems in passing parameters to the applet
Swing Applet Class Not Found Exception
load:class sampleapplet.HelloApplet not found
can DatagramSocket work in applets
browser says "appletclass" not found
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com