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

Mac OS X/ Safari: DT should display proper message when required javafx runtime does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 7u6
    • deploy
    • None
    • Mac OS X/ Safari

      On Mac OS X, when user
      - has Java Plug-in 7u6
      - does not have JavaFX runtime ( can simulate this case by corrupting the jfxrt.jar)

      and load the DT enabled JavaFX 2.2 applet

      1) On Firefox 10.x+, message displayed "JavaFX application could not launch due to system configuration. See java.com/javafx for troubleshooting information"
      which IS the correct expected behavior

      2) On Safari 5.1.6, there is no such message at all. In fact, nothing displayed at all on Safari- no expected message as in the Firefox case

      *** Test Configuration:
      - Mac OS X 10.7.4
      - Browser: Firefox 10.x+, Safari 5.1.6
      - Java Plug-in 7u6-b09

      *** Steps to reproduce:

      0) Install Java Plug-in 7u6 -b09
      http://jre.us.oracle.com/java/re/jdk/7u6/promoted/all/b09/bundles/macosx-x64/JavaAppletPlugin.dmg

      1) Make sure the installed Java Plug-in registered correctly with Firefox and Safari

      2) Rename jfxrt.jar included in the above Java Plug-in 7u6 under /lib

      3) At this point, it is the same case as user does not have JavaFX runtime installed

      4) Use Firefox to invoke the JavaFx 2.2 DT enable applet
      http://jfx.us.oracle.com/hudson/view/2.2/job/2.2-deploy-scrum/66/label=macosx-universal-14/artifact/artifacts/deployed/dtTests/JSPreloader.html

      You should see the message: "JavaFX application could not launch due to system configuration. See java.com/javafx for troubleshooting information" which is correct behavior

      5) Use Safari to invoke the same applet in step #4
      and if you don't see the message as in step #4 and nothing happens at all, then the issue is reproducible



            igor Igor Nekrestyanov (Inactive)
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: