Results 1 to 9 of 9
  1. #1
    Drew345 is offline Member
    Join Date
    May 2015
    Posts
    31
    Rep Power
    0

    Default 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

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: Chrome doesn't support java anymore ?!?

    Java sits behind the websites.

    Applets haven't been a thing for quite some time now.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default 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.
    Last edited by gimbal2; 08-05-2015 at 09:12 AM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: Chrome doesn't support java anymore ?!?

    Go to this url: chrome://flags/#enable-npapi and enable npapi support again.

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

  5. #5
    Drew345 is offline Member
    Join Date
    May 2015
    Posts
    31
    Rep Power
    0

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

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Chrome doesn't support java anymore ?!?

    Quote Originally Posted by JosAH View Post
    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!
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  7. #7
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: Chrome doesn't support java anymore ?!?

    Quote Originally Posted by gimbal2 View Post
    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
    Build a wall around Donald Trump; I'll pay for it.

  8. #8
    Drew345 is offline Member
    Join Date
    May 2015
    Posts
    31
    Rep Power
    0

    Default Re: Chrome doesn't support java anymore ?!?

    ?? I am about to buy his "Intro to Swing Programming" book! ??

    Should I jump boat?

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default 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.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Java won't work with Chrome
    By ECKJR in forum New To Java
    Replies: 4
    Last Post: 04-09-2014, 05:38 PM
  2. Chrome/java version difficulties
    By Daimoth in forum Java Applets
    Replies: 8
    Last Post: 06-04-2012, 01:21 AM
  3. Safari & Chrome Problem - Please Help! New to Java
    By azonicds2 in forum New To Java
    Replies: 2
    Last Post: 03-23-2012, 04:06 PM
  4. Java Applet is not working in Google Chrome
    By AsoInfo in forum Java Applets
    Replies: 2
    Last Post: 01-28-2012, 05:56 AM
  5. Java doesn't want to install anymore
    By Andross in forum Forum Lobby
    Replies: 0
    Last Post: 09-29-2011, 04:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •