Forum Stats

  • 3,827,146 Users
  • 2,260,746 Discussions
  • 7,897,182 Comments

Discussions

Auto-detect Java Plugin support in the browser.

3297716
3297716 Member Posts: 1
edited Aug 17, 2016 10:37AM in Java Applet Development

Background:

We have been using deployJava script in our code to verify if the required JRE version is existing on the system.

If it does we launch in the web browser via Java browser plugin. If it doesn’t, we download the jnlp file to launch as an application.

With the new change that the browser support for the Java Plugin is getting deprecated, we wanted to automatically verify if the browser supports Java Plug-in.

Only if the browser supports the Java plug-in, we provide the option to launch in the browser, else we would always download the jnlp.

Queries:

Is there any way we can auto detect if Java plugin support is available in the browser?

Is  there a plan to update the deployJava script to handle this scenario?

Tried Solutions:

We are trying to use navigator.javaenabled() to auto-detect if Java plugin support is available in the browser.

However, this seems to be having some issues in Chrome.

This discussion has been closed.