Oracle is planning to make its JRE paid from Jan 2019 onwards. We need to find another vendor that supplies the Java Web plugin for free. Do any of the OpenJDK vendors provide this plugin? Oracle hosts the plugin on this link - https://www.java.com/en/download/

1

There are 1 best solutions below

1
user2220862 On

Certainly the OpenJDK has the java.applet.Applet and javax.swing.JApplet classes. That is all that is needed, technically, to enable applets. Of course, using them in a browser, at least for general consumption, is no longer an option.

But why use Java? Recent developments allow most traditional Java applets and Java applications (both) to be run in JavaScript. The process is still in beta, but it has been highly successful. Development is all in Java; deployment is in Java and JavaScript simultaneously. Minimal recoding is necessary, mainly to reconfigure threads to be "state-like" and not require wait() and notify(). And the same for dialogs. But our experience is that both of these issues are easily worked around. It's not perfect. Certainly there are limitations -- a few missing Swing classes, "not so long" long numbers. Speed 15-30% Java. Some pretty major applications have been converted. (Jmol was the first.)

For more information, see https://github.com/BobHanson/java2script for details.