java - Getting JavaFX to run via Browser for Simple HelloWorld app -


i tried following various tutorials getting javafx hello world app running in browser. can't believe it's hard, i'm looking insight may have done wrong. things i've tried , resolved (to rule out obvious):

  • had download 32-bit jre browsers , ensure using that
  • thus using latest jre (7u21); running on win 7 64-bit
  • checked windows control panel -> programs -> java verify jre being used
  • signed jar file
  • tried running local file, found drive letters weren't recognized, moved running via tomcat 6
  • tried various changes codebase , url hrefs, believe correct.
  • tried in both ie 10 , chrome

what ended loading .html (which references jnlp using javafx default javascript) spin while fail. if try load .jnlp file directly, exception:

classnotfoundexception: javafx.application.application 

i verified jfxrt.jar in lib folder of jre browser using.

any insight/suggestions may missing @ point? seems must obvious/basic @ point, i'm not seeing it. thanks.

just follow-up, went ahead , used javafxpackager. produced web page load javafx application in chrome. however, still doesn't work in ie. i'm going write off ie since works in chrome. did learn looking @ results, though, there several things javafxpackager does, , results of not what's described in of manual tutorials/examples. minor differences, apparently matter.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -