Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8132009

Chrome/Opera on Mac currently supports JRE - change dtjava.js to reflect this

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 8u51
    • deploy

      FULL PRODUCT VERSION :
      1.8_51

      ADDITIONAL OS VERSION INFORMATION :
      OSX 10.9.5

      A DESCRIPTION OF THE PROBLEM :
      Although Chrome is dropping NPAIA support, Java is still supported as of Chrome 43.

      However, datjava.js includes code that prevents it running on Mac Intel versions of Chrome/Opera This is because Chrome was 32 bit and there was no 32 bit JRE for Mac.

      Chrome is now is now 64 bit so Java can run with minor changes to dtjava.js as described in the workaround below.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :

      In dtjava.js

      In function checkJRESupport() {

      CHANGE

      //Do not support Chrome/Mac as Chrome is 32 bit only
              var browser = (ua.mac && ua.chrome && ua.cputype == "intel");


      In function checkFXSupport()

      CHANGE

                  browser = ua.op ||
                      (ua.mac && ua.chrome); //Opera is not supported

      In both cases setting browser=false lets the plugin run and display JavaFX in both Chrome and Opera 64 bit versions.

            herrick Andy Herrick (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: