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
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