Reputation: 78
Several years ago, I wrote a Java applet that runs in the browser, and runs executables (Exceed XStart files) which are hosted on a network share. The users can manually run the XStart files themselves, but it's a hassle they don't need.
Recently, I installed AdoptOpenJDK on my PC (we were using Oracle's JDK), and now the applet no longer runs in the browser. Some quick googling revealed that AdoptOpenJDK apparently doesn't support java applets.
Oracle JDK isn't an option (company is dropping it). Java Web Start or JNLP won't work (AdoptOpenJDK doesn't support them either looks like). IcedTea looked promising, but doesn't work in IE; which is a must as it's the company standard.
Is there a workaround for this? What's the preferred way of accessing local resources inside a browser?
Upvotes: 0
Views: 3255
Reputation: 106460
There is no formal workaround to getting a Java applet to work in a browser, because all major browsers have ripped out the NPAPI support needed to have the Java applet work.
Also, the Java applet itself was particularly singled out to the degree that Oracle decided that it wasn't going to pursue applet functionality in Java 9.
The logical way forward would be to find an old browser to run this with, but I would argue that this is worse, since now you're having to straddle old technology with new and existing infrastructure, which may lead to more frustration.
Upvotes: 1