Java help..

Status
Not open for further replies.

hobo_man

In Runtime
Messages
150
I keep getting a Red X in the top left corner of a Java applet when I try to run it. It happens with any site that requires Java so work. Also, it says "Loading Java applet failed.." in the bottom left corner. I went to the Java site to get help, but the solution they posted didn't help at all. Please help. Thanks.

Here's the log if it helps any..:

Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM

----------------------------------------------------
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 loader.class not found.
java.lang.ClassNotFoundException: loader.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)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-loader.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 
this subject is such a pain in the ***....what i had to do was delete the profile and it worked.....
 
I don't understand what you mean by "profile". Do you mean the hardware profile for the OS?
 
Open IE, go to the advanced section under Tools/options. Then look at the Java settings. What do you have listed there and what is checked? If you have both MS JVM and Sun, are both checked? If you only have Sun is it checked? Also, if both are present and checked, uncheck sun and then try it.

another thing to try,
go to %userprofile%
then delete the .java folder there. Go to Application Data, delete the Sun folder.

Then try it again.

good luck
 
For Java(Sun) I have "JRE 1.5.0_06 Applet" checked. (Only one under Java)
Under Microsoft VM, I have "Java Consoled Enabled" checked.
There's also "Java logging enabled" and "JIT compiler for virtual machine enabled", but they aren't checked.
 
Uncheck the Sun java and try it out. That is a common problem we see(in my work place) with java problems. When both are checked, they can conflict with each other...

Java since ver 1.4.0_01 uses a direct call to it's version. so if it's not there, then it will fail and request install.

hope that helps...
 
Status
Not open for further replies.
Back
Top Bottom