On Windows platform we currently rely on DT native plugin to detect presence of JavaFX Runtime.
On Mac and Unix there are no native DT plugins and JavaFX runtime is always part of JRE bundle.
Also, all Mac/Unix browsers are NPAPI based
Convinient way to detect presence of JavaFX will be to report it in the mime tabl, like
We also need an easy way to detect version of deployment stack, e.g. using
- NPAPI plugin on Mac and Unix now report following additional mime types:
Version of deploy stack. Needed to be able to detect presence of new "DTLite" apis
without loading native DT plugin (and java plugin two)
Version of embedded JavaFX Runtime. Only added if JavaFX is cobundled
(on Mac determine at bundle build time, on unix we detect it in runtime)
- Mimetypes in the Info.plist are now populated dynamically at the build time
We still export fewer mime types than NPAPI plugin on Unix. Will need to look into this separately
- Refactored part JavaVM.c as i needed method to find location of javafx.properties file
(file contains javafx version, i added support for it on JavaFX side yesterday)
FORCED* keys should not work better on these platforms. E.g. FORCED_JRE_ROOT did not seem to be working
- I did not add these mime types on windows yet.
JavaFX one does not make much sense yet as we do not have true cobundle.
Listed these 2 keys as part of work to be done in 7148913. If i can find time to play with it tomorrow then i may try to add them too.