-
Bug
-
Resolution: Fixed
-
P1
-
None
Right now the dtfx.js deployment script will detect if the user doesn't have Java installed and then redirect the user to java.com to install it. In some cases it shows a javascript popup window and then redirects the user.
This behavior is bad because:
* When a user arrives at a webpage they should never be redirected to another page without an explicit user action.
* Users who *do* have Java installed but are viewing blogs with an RSS reader that supports JavaScript but not Java will not be able to view the blog. Instead they will be forwarded to a page that is not useful to the user, nor can they go back.
* When the user does have Java but our scripts fail to detect it properly (which has happened quite frequently) the user is taken to a new page without an understanding of why, nor how to fix it or get back to what they were trying to do.
In all cases above the user is left with a bad impression of Java and JavaFX, and will avoid pages with Java altogether.
Instead of redirecting the user the area where the applet would be should be replaced with a box, button, or some text saying "You need Java to view this application. Please click to install it". Only once the user clicks on the box/button/text should the user go to java.com or have the installer launched. This is what Flash and Sliverlight do.
This behavior is bad because:
* When a user arrives at a webpage they should never be redirected to another page without an explicit user action.
* Users who *do* have Java installed but are viewing blogs with an RSS reader that supports JavaScript but not Java will not be able to view the blog. Instead they will be forwarded to a page that is not useful to the user, nor can they go back.
* When the user does have Java but our scripts fail to detect it properly (which has happened quite frequently) the user is taken to a new page without an understanding of why, nor how to fix it or get back to what they were trying to do.
In all cases above the user is left with a bad impression of Java and JavaFX, and will avoid pages with Java altogether.
Instead of redirecting the user the area where the applet would be should be replaced with a box, button, or some text saying "You need Java to view this application. Please click to install it". Only once the user clicks on the box/button/text should the user go to java.com or have the installer launched. This is what Flash and Sliverlight do.
- duplicates
-
JDK-8106498 Impossible to view a page with JavaFX applet on an iPhone due to constant attemtps to redirect to java.com
- Closed