6

Support for Java Applets has been removed from just released Java JDK 11. (See https://www.infoq.com/news/2018/09/java11-released for more information)

Does it means support of applets will be removed from Java JRE 11 as well ? In other words, will it be possible to run Java applets with Java JRE 11 ?

sgt-hartman
  • 634
  • 6
  • 25
  • 2
    Out of curiousity, what environment are you running applets in? No modern browser supports them anyway, so...? – T.J. Crowder Sep 27 '18 at 09:31
  • the JDK used to provide the option to write applets, it's the browsers that provided the support to run them. seeing as, as @T.J.Crowder already mentioned, browsers won't allow the use of applets anymore ... why would you want to write applets? – Stultuske Sep 27 '18 at 09:33
  • Firefox has a kind of "LTS" version named "ESR" that still supports Java applets. Main purpose here is legacy system maintenance. – sgt-hartman Sep 27 '18 at 09:38
  • legacy system ... In Java 11? – Stultuske Sep 27 '18 at 09:40
  • @Stultuske Java 11 JRE (client side) – sgt-hartman Sep 27 '18 at 09:46
  • 1
    Even Firefox's legacy support ended last month, [according to their website](https://www.fxsitecompat.com/en-CA/docs/2016/plug-in-support-has-been-dropped-other-than-flash/). Just FWIW. – T.J. Crowder Sep 27 '18 at 09:46
  • @Stultuske - I can see wanting to keep Java up-to-date, even in a legacy system still using out-of-date technologies like applets. (Though I'd be worried about the degree of backward-compatibility required.) – T.J. Crowder Sep 27 '18 at 09:47
  • 1
    I can't say more to you about the business side. I just can say we are dependent of deployed devices that embed a web interface using java applets. And in fact my question is general (i want to know. simply). – sgt-hartman Sep 27 '18 at 09:50
  • I don't think there is or will be JRE 11, period. There is Oracle's JDK 11 that you need to license if you want to use it in production. And there is OpenJDK with GPL license. No more JRE. I would love to be wrong, please, correct me, if you know more. – Alex Pakka Sep 27 '18 at 18:10
  • oh okay that make sense. i thought JRE were not released as of now. So JDK = JRE now ? same package ? – sgt-hartman Sep 28 '18 at 08:37

1 Answers1

4

As written here: Java Client Roadmap Update

During the past five years, most browser vendors have withdrawn support for plugins such as Flash, Silverlight, and Java in their products. Supporting Java Applets in browsers was only possible as long as browser vendors were committed to supporting standards based plugins. By late 2015, many browser vendors had either removed or announced timelines for the removal of standards-based plugin support, while some introduced proprietary browser-specific extension APIs. Consequently:

  • Existing Applet support in Java SE 8 will continue through March 2019, after which it may be removed at any time.
  • Oracle announced in January 2016 that Applets would be deprecated in Java SE 9, and removed from Java SE 11 (18.9).

The Alternative: You will need to find potential Third Party Replacement. Import explicitly (eg using maven)

Community
  • 1
  • 1
lolo
  • 17,392
  • 9
  • 25
  • 49