1

21st century.

Apache Pivot web site.

Latest release July 04, 2017, Pivot 2.0.5

Demos page: https://pivot.apache.org/demos/

Clicking any demo causes the following banner appear:

enter image description here

I tried in Chrome, Firefox and Opera.

If click More info it passes you to java download page: https://java.com/en/download/win10.jsp

How to fix?

I don't want to download and install latest JRE. I have JDK/JRE version installed and satisfied by it. I want it to run.

Dims
  • 47,675
  • 117
  • 331
  • 600

2 Answers2

4

That message is telling you that the page is trying to run a Java applet (that's what the Java plug-in does).

If you want to run a Java applet, you'll have to use an obsolete (or minor brand) browser, which obviously one doesn't recommend.

Chrome and Firefox have both dropped support for the Java plug-in (and support for NPAPI plugins in general, although they've whitelisted Flash for a little while), and Edge never had it. Reasons for this vary depending on who you ask and when you ask them, but essentially A) The Java plug-in had a long history of security issues, B) Supporting the underlying NPAPI is a non-trivial technical debt that browser vendors no longer want to carry, C) Now that the web has matured a great deal, with native video, animation, etc., the need for NPAPI-style plugins is greatly reduced.

A signed Java applet will run in IE11 if you tell your Java installation to allow it (on the Java configuration applet's Security tab). I have no idea whether an unsigned one will. I hope not.

Otherwise, you can't run the Java applet. Because this is the 21st century. :-)

T.J. Crowder
  • 1,031,962
  • 187
  • 1,923
  • 1,875
  • Does that mean one cannot even run the [Progress Applet Demo](https://docs.oracle.com/javase/tutorial/deployment/applet/examples/dist/applet_AppletWithCustomProgressIndicator/AppletPage.html) from the [Oracle tutorials](https://docs.oracle.com/javase/tutorial/deployment/applet/customProgressIndicatorForApplet.html)? Don't have the JDK but that shouldn't be required to see it in action in Chrome. – Laurie Stearn Oct 14 '17 at 05:54
  • @LaurieStearn: Yes. Applets are a dead technology. – T.J. Crowder Oct 14 '17 at 08:59
1

If you inspect the page Apache pivot uses Applet: org.apache.pivot.wtk.BrowserApplicationContext$HostApplet with signed jar as pivot-core-2.0.5.signed.jar.

It calls runApplet and fails on check:

if(document.readyState=="complete"){
  clearInterval(B);h()}},15);
  k("[runApplet()] Java Plug-in is not supported by this browser");return
} 

The support of Applet technology is down due to security issues. see great explanation in superuser site.

Ori Marko
  • 56,308
  • 23
  • 131
  • 233