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

dtfx.js file is not correctly identifying that java is not of the required version or higher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • fx1.2.1
    • deploy
    • Windows XP, 32Bit, 4GB Ram, SDK5, JRE 1.4

      I have been experimenting with using JavaFX to replace our SVG chart diagrams in a work web application but the trial hit snag with half the users I asked to load the web page, getting this error....

      java.lang.UnsupportedClassVersionError: org/jdesktop/applet/util/JNLPAppletLauncher (Unsupported major.minor version 49.0)

      Having read section 3.4 of the FAQ, and trying to understand the dtfx.js I believe that if a user has un insignificant java version (less than 1.5) then they should get an alert indicating the fact that there version needs updating.

      However the piece of js code "java.lang.System.getProperty("java.version"); "is returning 1.5 for a couple of the users who get the error, and this would explain he lack of alert because it thinks its got a suffiencient version to run JavaFX applets. So I think that system property "java.version" is picking up the fact that they have a SDK 5 on there machines and the JRE is in fact 1.4 so I'm told according to there control panel.

      Sorry if this is the wrong place to post this, I did post on forum but no reply, the application is is used by over 10000 so really need this detection to work correctly.

      Thanks,
      Dale

            ngthomas Thomas Ng (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: