1.

Solve : Weird Problem with Java - Sometimes Working, Sometimes Not?

Answer»

Hello,

So after hours upon hours of scouring the internet, I've finally manned up enough to post on a forum.

Basically, I switched back to Windows 7 from Windows 8 recently. Everything went smooth, installation was fine, everything seemed good. Then I went to load up a couple of websites that run on Java (after I had installed it) and they won't load. For an entire website on javascript (like a web irc client (gamesurge)), the page was just an eternal white screen. I've tried every version of Java for Windows I could think of. I've uninstalled, reinstalled, turned off adblock, enabled java, disabled java, always allowed java...everything in the book and it just won't work for any browser on either 32x or 64x. The main example is GameSurge webchat (which i use for comp video game in-house pugs and stuff), but other THINGS won't work either. It's pretty random and weird.

It's weird, because things like Minecraft run fine (although I know that Java and Javascript are two different things).

I just hope I can find a solution; I really don't WANT to go back to Win 8 just for Java (an option that's not even available because lol product keys).

I can't get any javascript console output, it's almost like it's not running Java but it kind of is...it's hard to explain.

Recently, I've been getting even more variation in things in Java working or not working: for example, the official java test on oracle works, and so does isjavascriptenabled, but java-based chat rooms still don't work...it's really weird.

OS: Win7 (obviously) (not updated for a while because of that ATROCIOUS anti-piracy update thing a while back that wrecked my computer for like a month)
(Main) Browser: Chrome (tested in IE, Firefox, Safari, Opera, even Rockmelt)


Thanks for reading.

~flatlineWhich browser ? ?What happens on this?
http://javatester.org/Quote from: Geek-9pm on April 06, 2013, 07:53:23 AM

What happens on this?
http://javatester.org/

He stated that works above...Quote from: patio on April 06, 2013, 08:06:31 AM
He stated that works above...
Yeah, that shows.Disable any AdBlockers.Quote from: BC_Programmer on April 06, 2013, 10:29:51 AM
Disable any AdBlockers.
Didn't work.Quote from: flatline on April 06, 2013, 11:55:32 AM
Didn't work.

well here's my original, full post on it. Basically, I couldn't get the mibbit widget to show up either, until I disabled ad block. When I finished writing the post I decided to summarize it.

Another thing to give a go; I created a simple HTML page with some embedded javascript, which shows a simple alert. if that works, then Javascript is working. if not, then it's not.


Quote from: flatline on April 05, 2013, 10:50:16 PM
Then I went to load up a couple of websites that run on Java (after I had installed it) and they won't load.

I haven't seen a website run on Java since the 90's. I'm not even sure they exist anymore. Most websites use Javascript, but that's completely unrelated.

Quote
For an entire website on javascript (like a web irc client (gamesurge)), the page was just an eternal white screen.
Yes. That site uses the Mibbit IRC Web Client, which is mostly Javascript. I can't seem to get their widget (the one on the gamesurge site) to work at all; I get a black box in all my browsers. the mibbit widget itself works fine in all my browsers. Seems like a configuration issue. I'd follow the link at the bottom to use their Java-based Chat, but I have Java disabled in all my browsers as any sane individual aware that there is no advantage to having it but a multitude of problems with it ought to.

Quote
I've tried every version of Java for Windows I could think of.
gamesurge uses the mibbit client which is Javascript, not Java. It works fine here. However, I did experiment, and discovered that if I installed AdBlock- which is particularly popular and it's possible you've installed it- that the site simply shows a black screen in the frame; same for the mibbit widget itself when I use it manually. If you have AdBlock, disable it for the site. You might need to disable it for Mibbit as well.

Quote
The main example is GameSurge webchat (which i use for comp video game in-house pugs and stuff), but other things won't work either. It's pretty random and weird.
This is somewhat consistent with if you have AdBlock installed. Sometimes it seems to think core website functionality Scripts and widgets are ads and blocks them.


Quote
It's weird, because things like Minecraft run fine (although I know that Java and Javascript are two different things).
As you say these are completely unrelated.

Quote
I just hope I can find a solution; I really don't want to go back to Win 8 just for Java
nothing you've mentioned uses Java.

Quote
I can't get any javascript console output, it's almost like it's not running Java but it kind of is...it's hard to explain.
This is consistent with my results when I enabled AdBlock.

Quote
Recently, I've been getting even more variation in things in Java working or not working: for example, the official java test on oracle works, and so does isjavascriptenabled, but java-based chat rooms still don't work...it's really weird.
Despite your previous note you don't appear to be aware of the difference between Javascript and Java. Not that this is your fault. The fact that they have such similar names is downright ridiculous and the person that decided to call a Scripting Language that had nothing to do with Java should be shot. He is nothing but a menace to SOCIETY! Anyway, the official java test on oracle works because you have the Java plugin installed. As a side note, I highly suggest removing that piece of garbage from your browsers. The Java plugin is pointless and just a giant security incident waiting to happen. the javascript tests are consistent with my current working theory about adBlock.


Anyway, if disabling adBlock didn't work, see if that page shows an alert.Quote from: BC_Programmer on April 06, 2013, 04:17:58 PM
WALL OF WORDS
Ah. :v

try http://webchat.gamesurge.net , that's what I'm mostly having problems with. Now that I've gotten a bit of config issues out, it looks like it's more a problem with Gamesurge than ANYTHING, since the page you linked me to gave me the enabled message.

Also, when I use the Java applet chat I get this console readout--

Java Plug-in 10.17.2.02
Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\flatline
----------------------------------------------------
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
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
----------------------------------------------------
CacheEntry[https://gamesurge.net/Java/irc.jar]: updateAvailable=false,lastModified=Wed Dec 31 18:00:00 CST 1969,length=-1
CacheEntry[https://gamesurge.net/Java/pixx.jar]: updateAvailable=false,lastModified=Wed Dec 31 18:00:00 CST 1969,length=-1

The chat window says Error, Click For Details and shows this:

http://puu.sh/2vdxU

:/

snip how do i forum
Quote from: flatline on April 06, 2013, 04:25:23 PM
try http://webchat.gamesurge.net , that's what I'm mostly having problems with. Now that I've gotten a bit of config issues out, it looks like it's more a problem with Gamesurge than anything, since the page you linked me to gave me the enabled message.

That works here, in all my browsers. The page I linked is just one line of JS, which shows that you do have Javascript enabled. You aren't using any add-ins like NoScript, I assume?

Quote
Also, when I use the Java applet chat I get this console readout--

Java Plug-in 10.17.2.02
Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\flatline
----------------------------------------------------
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
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>
----------------------------------------------------
CacheEntry[https://gamesurge.net/Java/irc.jar]: updateAvailable=false,lastModified=Wed Dec 31 18:00:00 CST 1969,length=-1
CacheEntry[https://gamesurge.net/Java/pixx.jar]: updateAvailable=false,lastModified=Wed Dec 31 18:00:00 CST 1969,length=-1

The chat window says Error, Click For Details and shows this:

http://puu.sh/2vdxU

This looks like an issue with the site as well. the two .jar files are supposed to be ZIP files that contain Java classes. however, both of those .jar files are standard websites. When the Java plugin tries to load the jar, it just get's a bunch of webpage source code, so it doesn't work.Quote from: BC_Programmer on April 06, 2013, 05:11:32 PM

Nope, I'm not running any extentions on my browsers that have anything to do with JavaScript.



Discussion

No Comment Found