Chrome doesn't support java anymore ?!?
Java no longer supported by browsers?
I have been learning swing and java applets, and finally got to the point where I wanted to embed one in a webpage and try to run it. But when I try to open the html page I get the following errors:
Chrome doesn’t support java anymore
Firefox blocks it for security reasons.
So, I am confused?!? Doesn’t “Java run the web.”?? Has java been replaced just as I am studying it? I know this is probably a big question / issue, but any links or pointers to what to search for is appreciated. I want to test my applet in a html page. How? Still possible?
Thanks,
Drew
Re: Chrome doesn't support java anymore ?!?
Java sits behind the websites.
Applets haven't been a thing for quite some time now.
Re: Chrome doesn't support java anymore ?!?
"Doesn’t “Java run the web.”??"
Hell no and it never has.
"Has java been replaced just as I am studying it?"
Also no.
The only thing that is true is that Google has stopped supporting an old way of building browser plugins and the Java plugin just happens to use that (Flash and Silverlight too). As such the Java plugin doesn't work in Chrome anymore without effort. That basically means you can't run applets in Chrome - I don't think many people lie awake because of that. If you really must annoy yourself with an applet, you can still use any other browser.
You should stop quoting the book you're reading, apparently it is making you think that Java equals applets. That was true maybe 15 years ago.
EDIT:
although truth be told, because both Amazon and Twitter heavily use Java for their platforms, Java does push quite a large percentage of the daily bandwidth on the net nowadays. So I guess you could say that Java "runs the net", at least partially.
Re: Chrome doesn't support java anymore ?!?
Go to this url: chrome://flags/#enable-npapi and enable npapi support again.
kind regards,
Jos
Re: Chrome doesn't support java anymore ?!?
Thank you very much for the replies.
I guess I will be writing more applications that applets, so not a big deal as much as just a shock.
Yes, my book makes Java applets sound like the peanut butter holding the PBJ web sandwich together...
Re: Chrome doesn't support java anymore ?!?
Quote:
Originally Posted by
JosAH
Go to this url: chrome://flags/#enable-npapi and enable npapi support again.
kind regards,
Jos
Keeping in mind this is a temporary fix that works in the current version and may not work on the next update. I find it especially humorous how Oracle itself deals with it.
https://java.com/en/download/faq/chrome.xml
Long story short: they're just treating Chrome as a diseased product and advise you to use something else.
PS @Jos: apparently you haven't sniffed out yet what book Drew is reading and who the author is ;) Your best friend!
Re: Chrome doesn't support java anymore ?!?
Quote:
Originally Posted by
gimbal2
PS @Jos: apparently you haven't sniffed out yet what book Drew is reading and who the author is ;) Your best friend!
Yep, lucky me; that author gives me a nasty rash ... I'd better ignore him completely (as everybody should do)
kind regards,
Jos
Re: Chrome doesn't support java anymore ?!?
?? I am about to buy his "Intro to Swing Programming" book! ??
Should I jump boat?
Re: Chrome doesn't support java anymore ?!?
Regardless of any opinion on the author, It'd be a poor monetary investment to buy a book on an aging technology such as Swing. Start with the rather extensive online tutorial on that subject, it was enough to answer all my questions when I started out with it:
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
If you really must spend a large amount of time learning client side GUI development, consider diving into the newer JavaFX 8 instead.