473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Can't get an applet to load - from my web site

This is one of my web sites.
http://www.metcalfeps.ocdsb.ca/

I can't get the applet to load. It's a picture of the school and has a ripple effect.

I have www.java.com listed in the security exceptions. My home machine is vista. The applet won't load in IE or Firefox.
ideas? It loads on my XP machine using IE at work. I reinstalled java, but still no luck. Ideas?

applet pool menu notinited is the message (Loading java applet Failed)
I"ve been fighting this problem for a while with no luck. I'm wondering if it's a codebase issue?
Expand|Select|Wrap|Line Numbers
  1.  
  2. <P><APPLET CODE="PoolMenu.class" CODEBASE="../" WIDTH=519 HEIGHT=198 ALIGN=bottom>
  3.                               <PARAM NAME=image VALUE="IMAGES/schoolsketch118.jpg">
  4.                            </APPLET></P>
  5.  
thanks,
sorry to oblige you all.
Sep 28 '08 #1
13 4747
JosAH
11,448 Expert 8TB
When I try to load that page I get a root cause of:

java.lang.ClassNotFoundException: ImageMap

All you have to do is fix your .jar file and all should be fine. This exception gets
thrown in a constructor of your applet class.

kind regards,

Jos
Sep 28 '08 #2
Thanks for the quick response. Tomorrow at work I will check it out from my work machine.- not sure how to fix the .jar file. I only have 3 .class files.

They are PoolMenu.class Pool.class ImageMap.class

On one of my other sites http://www.downwindkennels.com/main/aboutus.html

The applet works no problem regardless of the OS or browser.

Expand|Select|Wrap|Line Numbers
  1. <applet code="PoolMenu.class" width="360" height="241">
  2. <param name="image" value="/images/casey3a.jpg">
  3. </applet>
I don't have the applet in a .jar - note: I do not have the codebase listed in this functioning applet.

sorry for bugging you all with an amateurish ques. like this.

I truly appreciate all the help.
Sep 28 '08 #3
JosAH
11,448 Expert 8TB
The applet works no problem regardless of the OS or browser.
Yep, that one works fine here as well including the ripple effect. Maybe it's a
firewall problem or simply the absence of a class file?

kind regards,

Jos
Sep 29 '08 #4
I added the ImageMap.class file today.

It worked from work on XP and IE no problems without it. I'll try it on Vista when I get home tonight. Any Vista users having success loading the applet now? If that was the issue, weird that it was successful loading on the older OS.

trying to get it load the ripple applet consistently here
http://www.metcalfeps.ocdsb.ca/

my other site has no problems

http://www.downwindkennels.com/main/aboutus.html

Wish me luck. I think you may be right that it was the missing .class file. - Looks like I may owe you a coke.

Thanks again everyone. I run 3 sites, but I"m a total noob when it comes to java. - more of a cut and paster.

cheers.
Sep 29 '08 #5
JosAH
11,448 Expert 8TB
Yup, it works now; it was that missing ImageMap class file.

kind regards,

Jos
Sep 29 '08 #6
You rock!

Thanks again for all the help. I've been meaning to fix this for quite some time now. I thought it was a Vista issue originally. I teach gr. 7 and I'm going to share the entire process that we went through in Computers class to show them the benefits of collaboration and of such forums.

cheers
Sep 29 '08 #7
JosAH
11,448 Expert 8TB
You rock!

Thanks again for all the help. I've been meaning to fix this for quite some time now. I thought it was a Vista issue originally. I teach gr. 7 and I'm going to share the entire process that we went through in Computers class to show them the benefits of collaboration and of such forums.

cheers
Well, I didn't do much actually; I simply tried to load your URLs and told you
what I saw ;-) I'm glad you fixed it. Did you write that ripple effect yourself or
did you find the code somewhere on the net?

kind regards,

Jos
Sep 29 '08 #8
- Your encouragement helped. I didn't write the applet. I can't for the life of me remember where I got the ripple applet from. I remember that I had tried 3 or 4 similar applets before I decided on one that I liked.

tx again.
Sep 29 '08 #9
ah heck.
I'm at home now. The applet now loads in IE. (I'm using Vista.) but it still won't load in Firefox. - any ideas? Can someone tell me if they were able to get the applet load on their machine with Firefox?

I'm using the uptodate version. Firefox/3.0.3

I've read of some older posts of people having issues with applets not loading in Firefox.

Poss. it's truly the browser's incompatibility now? - suggestions?

tx again.
Sep 30 '08 #10
Here's the java console message I get....


Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Me


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class PoolMenu.class not found.
java.lang.ClassNotFoundException: PoolMenu.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

- doesn't tell me too much, eh?

- i checked the adv. settings for Firefox, yep Java is enabled.
I believe I am using the newest and proper Java plugin for the browser.


Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM

thanks for your time considering my plight everyone.
Sep 30 '08 #11
oh yeah,

I'm using Java ver. 6 update 7 if that helps. (Standard Ed. 6)

If anyone gets the applet to load in Firefox from this page (it's a ripple effect of my school in black and white) - looks rather neat I think. - the students dig it.

http://www.metcalfeps.ocdsb.ca/ please give me a quick shout.

tx
Sep 30 '08 #12
I've now pulled that codebase="../" out of the applet tag, like I have loading properly on the dog web site. I hope this helps Firefox run the applet.

http://www.downwindkennels.com/main/aboutus.html

http://www.metcalfeps.ocdsb.ca/

-it's the ripple applet on the school site that didn't want to load in Firefox (FF3) on my home Vista machine.

any feedback would be appreciated.

I'll have to wait till tonight to check it at home myself.

tx
Sep 30 '08 #13
Oh happy days! It now works in both browsers. Interesting challenge, eh?

It worked in IE with a .class file missing but not Firefox and having the codebase pointed to the root directory (where the files were) didn't mess up IE but through Firefox for a loop.

tx again everyone.

take care.
Sep 30 '08 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document...
2
by: Ted Byers | last post by:
I am looking for a java applet that provides the main capabilities of a web browser, not only displaying web pages properly, but supporting the various client side processing capability such as...
0
by: Benjamin Jones | last post by:
I have been fighting a problem with writing an XSLT applet for several days now. The following code works in a command line application, and in the applet viewer for provided with IBM eclipse. ...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
3
by: Larry Martin | last post by:
I am trying to run a Java Applet on my ascx page and am getting an IO exception when IE6 tries to load the applet. It seems a lot of others are getting the same problem but a search of the web did...
1
by: M. Magistri | last post by:
Hi all! Why doesn't the following code load my applet under WinXP with Internet Explorer 6? <SCRIPT language="javascript" type="text/javascript"> <!-- if (getBrowser()=="IE"){...
0
by: speedcoder | last post by:
hi all, i'm stumped. my applet used to load images over the network. (it was actually designed by someone else.) yes, the applet used to load each image file independently over the network and...
2
JustRun
by: JustRun | last post by:
Hi, I'm new to Java "I loved it" and i'm stuck with a Chart Applet i'm trying to give the pie chart its values from my database. Actually the database class works when i tested it in main method...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.