Sign in with
Sign up | Sign in
Your question

Java Hangs / Fails To Load In Any Browser

Last response: in Windows 7
Share
May 25, 2012 6:33:49 PM

I'm running Windows 7 x64, JDK 7 U4 and the Java plugin just won't work correctly in any browser, be it IE9, Chrome 19, or Firefox 12. Both the Java installation and the browsers are 32-bit versions. The browsers simply hang or display nothing when a Java applet is supposed to load.

I do Java development, so I need the JDK.

I have tried everything it seems. Completely removed the JDK and reinstalled it, tried both JDK 7 U3 as well as whatever the latest version of JDK 6 is, tried with just the JRE, but the problem is still the same. I also used a tool called JavaRa to completely remove any remnants of Java before re-installing it.

The Java plugin seems to be correctly listed in all browsers (for instance in "about : plugins" in Chrome), with the correct version, too. In Control Panel -> Java, I also have "Enable the next-generation Java Plug-in" enabled.

Apart from the browser issue, Java seems to be correctly installed, as I can run "java" or "javac" from a command prompt and it will give the expected output. I am also able to compile Java source files as well as run Java bytecode without issues.

A few times I have been able to get it to work in a browser. All of these times were directly after a fresh installation of the JDK/JRE, but then it seems to stop working after a short period of time. Strange...
a b $ Windows 7
May 25, 2012 6:37:19 PM

I'd uninstall Java, then hunt down the program directories and registry hives and manually blow them out too, then re-install Java.
a b $ Windows 7
May 25, 2012 6:41:21 PM

+1 jtt283.

Might be a java virus causing the problem
Related resources
a b $ Windows 7
May 25, 2012 6:56:25 PM

also check if your using an older version of an anti virus. a lot of them have web shields and it may be blocking the new version of java from running. see if you can turn off your anti virus and see if the java works.
May 25, 2012 7:02:56 PM

I'm using the latest version of Microsoft Security Essentials with updated definitions. Never had any conflicts between it and Java before.

How would I go about manually hunting down program directories and registry entries? Searching for 'Java(TM) 6" or 'Java(TM) 7' in the registry returns no results and Java is completely removed from my 'Program Files (x86)' directory. Anywhere else I should be looking?
a b $ Windows 7
May 25, 2012 9:09:38 PM

Look for "Java," "Javasoft", "JRE...", etc. under HKEY_LOCAL_MACHINE\Software\Wow6432Node\ and HKEY_CURRENT_USER\Software\
May 25, 2012 10:15:34 PM

There were a ton of matches for "Java" under those registry nodes, and I did not really feel safe about removing them.

Instead, I let the registry cleaner of CCleaner find all invalid registry entries for me and only removed those that referred to Java, not wanting to mess with anything else.

That seems to have helped, at least now Java applets can again run in Chrome, but in neither Firefox nor in IE does it work - in both of these browsers, any Java applet still seems to make the it hang.

I'm going to hold my verdict on whether this is a fix or not as I have seen this exact behavior before - Java applets working in Chrome but then failing to keep working after a while.
May 26, 2012 8:15:31 AM

Just as I suspected - after a reboot, Java applets will no longer load in any browsers.
a b $ Windows 7
May 26, 2012 4:04:05 PM

Well then, I think a more thorough purge of java-related entries may be in order. Clear out any Java program / applet directories. You may very well have a malware infucktion of some sort.
May 26, 2012 4:36:58 PM

How would I go about finding Java program and applet directories? I have already used the Java Control Panel to delete temporary files prior to completely uninstalling and re-installing Java but without any luck.

By the way, local Java applications work just fine.
a b $ Windows 7
May 26, 2012 4:51:55 PM

For a start, look under C:\Program Files (x86).
May 26, 2012 5:01:59 PM

Onus said:
For a start, look under C:\Program Files (x86).


Already did, as per one of my previous posts -

Kralnor said:

How would I go about manually hunting down program directories and registry entries? Searching for 'Java(TM) 6" or 'Java(TM) 7' in the registry returns no results and Java is completely removed from my 'Program Files (x86)' directory. Anywhere else I should be looking?


a b $ Windows 7
May 26, 2012 6:10:17 PM

Hmmm, don't remember exactly, there are browser-related subdirectories where previously-downloaded java gets saved
June 15, 2012 11:05:53 AM

Still haven't been able to solve this issue. I updated to JDK 7U5 x86 (made sure to completely uninstall 7U4 and used JavaRa), but the same problem remains.
!