Java won't load and Java's "test your install" fails

Posted on 2007-12-06
Last Modified: 2010-04-21
I've read the answers out here to most of the Java issues that sound like mine and don't see the answer.

Here's the situation: I have XP SP2 that I've loaded from CD - full, Professional version.  I've then installed all critical updates as well as downloaded/installed Windows VM.  Then I went to and loaded the most recent version of Java.  It refuses to work.  When I go to Java's own "test your install" it comes up with the red "X".  I've followed all their instructions w/o success.  I've reinstalled manually, I've checked all browser and Console settings.  I've even gone down the Advanced settings sitting side-by-side with a PC that loads just fine - I can not find anything wrong with the settings.  The only thing I can see is the PC that works has an older version of Java along with the upgraded version.

It makes no difference if I stay with IE6 or upgrade to IE7 - neither will work.

I'm open to suggestions, please.
Question by:andy1645
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
  • 4

Author Comment

ID: 20423504
Here is a Console dump.  
load: class snifferSimple.class not found.
java.lang.ClassNotFoundException: snifferSimple.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 Source)
	at Source)
Caused by: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
	at sun.applet.AppletClassLoader.access$100(Unknown Source)
	at sun.applet.AppletClassLoader$ Source)
	at Method)
	... 10 more

Open in new window

LVL 92

Expert Comment

ID: 20424057
check your proxy settings, its failing to load classes.
LVL 27

Expert Comment

ID: 20424784
"objects" is probably right.  Along that same line, it could well be your Norton AntiVirus, if you have it installed and running.  The Internet protection, in particular, prevents a lot of things from working.

However, if it's really related to your JRE, then this troubleshooting guide from Roedy Green is very good:

Try the applets he lists for testing.  If they work, then your installation is good at the basic level.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 20429427
Sorry, guys, that site gets into scripting and I know nothing about classpaths or anything else having to do with scripting.

I've now reimaged the machine to a basic XP SP2 and am running Mozilla Firefox with the same result.  It launches the Java icon in the taskbar (when I go to a site that requires Java) but fails to work.  I have no Proxy's and it makes no difference whether I have Symantec or not.

Sorry for putting this in the wrong zone.  I have no idea the difference between the Java I need to run certain programs/sites and Java scripting.

Bumping points up a little - while I am a novice at scripting I do know PC's pretty good and believe I've covered the standard bases with this.  All the Console and Control Panel settings have been covered and it makes no X when I verify on Java's site and failure when I go to a Java-enabled website.
LVL 27

Accepted Solution

mrcoffee365 earned 300 total points
ID: 20430122
Roedy Green's page is very good for troubleshooting problems with trying to run applets, but you're right, you don't need to pay attention to the suggestions for maintenance scripts that he gives.  Did you try to run either of the applets that he gave in the links?  To help you skip the information on the page that you didn't want, here are the links:

Plain applet:
This tests functionality similarly to how you used the "Test Install" button mentioned in your post above.

Signed applet, with info about your Java installation:

It is most likely that you have not installed Java correctly or have not turned on the right permissions to run Java in your browser.  It's usually easier to debug this in Firefox, but you can use IE for your debugging, too -- certainly the permissions for running Java are different in each one.

>>I have no Proxy's and it makes no difference whether I have Symantec or not.

Okay -- as long as you're sure, then it's the Java install or the permissions in your browser.

So try the signed applet link above, and follow the suggestions on the page for making the applet work, if it doesn't.  If that doesn't help, post again:
* Firefox version (or IE version, if you're using that)
* Java version (or the URL you used to get Java from Sun)
* URL for the Java applet which didn't work in your browser
* Output to the Java console when you tried to display the Java applet

Author Comment

ID: 20431228
On the first one from Java all 3 (bubble, Bi-Direct and Quick) have a red "X".

The signed applet doesn't appear to have any errors/problems.  Do you want me to copy/paste anything here?  I am now using Mozella and of course I've set the browser to use the Java plugin.  As I said before, the icon does show up in the taskbar the first time I go to a Java enabled website but it just doesn't work

I'm in with Admin rights, of course and my browser doesn't appear to have any unusual restrictions.

Author Comment

ID: 20431261
I just saw that I'm supposed to see an applet in the window.  I don't.  Instead this is what's there:

browser = sun.plugin
browser.version = 1.1
file.separator = \
java.class.version = 50.0 = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.url =
java.version = 1.6.0_03 = Java HotSpot(TM) Client VM = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.6.0_03-b05
line.separator = [binary chars: 0x0d 0x0a i.e. CrLf, \r\n]
os.arch = x86 = Windows XP
os.version = 5.1
path.separator = ;
LVL 27

Expert Comment

ID: 20431396
If you mean that you went to the link for the signed applet above, and what you posted was what was in the window, then it worked for you.  That's what it displays -- info about your browser's Java installation.

So the good news is that Java applets can run in your browser.  The question now is why the Sun applets won't run for you.  The key might be the "open HTTP connection failed" message.

This Sun forum has a few suggestions for fixing it:

Zonealarm has been mentioned as causing this problem as well.  You said you are sure you aren't using a proxy, but surely you have a firewall?

Do you have MSN on your machine?  There is a note on one forum about a conflict in jars somehow between what MSN loads and what the browser is trying to use.

I've been googling for applet and "open HTTP connection failed" -- there are a lot of people with the problem, and most of them report that they've solved it by re-installing the Sun JVM after upgrading the OS or browser.  Developers have to do more work, but you're not in that situation.


Author Closing Comment

ID: 31413268
In the end it DID turn out to be environment.  I was at my work using their wireless and apparently there's something in the router that does not allow Java to run but as soon as I went wired it works fine.
LVL 27

Expert Comment

ID: 20520493
It's good to hear that it was the equivalent of a proxy after all -- that trips up a lot of people.

Glad you found a solution.

Featured Post


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

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

623 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