Java help.. - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 02-21-2006, 05:42 PM   #1 (permalink)
True Techie
 
Join Date: Sep 2005
Posts: 150
Default Java help..

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(Un known Source)
at sun.plugin.AppletViewer.showAppletException(Unknow n 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(Un known 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(Un known Source)
at sun.plugin.AppletViewer.showAppletException(Unknow n Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
__________________

hobo_man is offline  
Old 02-21-2006, 07:34 PM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

uninstall/reinstall java

www.java.com
__________________

office politics is offline  
Old 02-21-2006, 08:32 PM   #3 (permalink)
True Techie
 
Join Date: Sep 2005
Posts: 150
Default

That was the first thing I tried..after 2 times, still didn't work.
hobo_man is offline  
Old 02-21-2006, 08:38 PM   #4 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

this subject is such a pain in the ***....what i had to do was delete the profile and it worked.....
__________________
Osiris is offline  
Old 02-22-2006, 10:45 PM   #5 (permalink)
True Techie
 
Join Date: Sep 2005
Posts: 150
Default

I don't understand what you mean by "profile". Do you mean the hardware profile for the OS?
hobo_man is offline  
Old 02-22-2006, 10:48 PM   #6 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

user profile
__________________
Osiris is offline  
Old 02-23-2006, 12:43 PM   #7 (permalink)
True Techie
 
Join Date: Sep 2005
Posts: 150
Default

Oh ... I see. Crap
hobo_man is offline  
Old 02-23-2006, 12:56 PM   #8 (permalink)
Master Techie
 
Join Date: Oct 2003
Posts: 2,258
Default

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
Inaris is offline  
Old 02-23-2006, 07:41 PM   #9 (permalink)
True Techie
 
Join Date: Sep 2005
Posts: 150
Default

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.
hobo_man is offline  
Old 02-24-2006, 11:35 AM   #10 (permalink)
Master Techie
 
Join Date: Oct 2003
Posts: 2,258
Default

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...
__________________

Inaris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.