?
Solved

URGENT!  Applet loads in JBuilder8 and ApplerViewer but not in IE Browser!

Posted on 2003-02-19
9
Medium Priority
?
252 Views
Last Modified: 2010-03-31
I'm using Java 1.4.1 and IE6.  I have the plug-in installed.
My files are all located in the same directory on the server.
My html looks like this:

<APPLET CODEBASE = "." CODE = "workDammit.class" WIDTH = "1000" HEIGHT = "550">
</APPLET>


When I run my applet I get the following error in the java console:

load: class workDammit.class not found.

java.lang.ClassNotFoundException: workDammit.class

     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)

     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)

     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)

     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)

     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)

     at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)

     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775)

     at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)

     at sun.applet.AppletPanel.run(AppletPanel.java:292)

     at java.lang.Thread.run(Thread.java:536)

Caused by: java.io.IOException: open HTTP connection failed.

     at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)

     at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)

     at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)

     at java.security.AccessController.doPrivileged(Native Method)

     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)

     ... 10 more
0
Comment
Question by:niallers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 7982887
Make sure you're not reading outside the applet's document base and:

Are you sure *all* IO is being done by other means than Files?
0
 

Author Comment

by:niallers
ID: 7982946
By the way, it runs fine when I open it from my files on my pc.
0
 

Author Comment

by:niallers
ID: 7982977
I'm pretty sure alright.  I took out the line 'import java.io.File;' and it all compiled ok.

0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:niallers
ID: 7983096
I have to go now (it's 7pm here) but I'll be back tomorrow morning for most of the day
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 7989841
Where are you now? It may be that you have to post the code AND the html
0
 

Author Comment

by:niallers
ID: 7992719
My code and html are the same as what i posted in the other question ( Home >All >Topics >Programming >Programming Languages >Java >Applet Error) with any changes suggested added in.
0
 

Author Comment

by:niallers
ID: 7992725
I can post it all again if necessary though
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 80 total points
ID: 7995738
If you've made all the necessary changes, then i don't see why you shouldn't have it running. Better post the new code when you've checked it thoroughly.
0
 

Expert Comment

by:CleanupPing
ID: 9059231
niallers:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

801 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