I\'ve just upgraded to El Capitan and I\'m running into problems starting a custom JavaFX2 application running under JDK1.7.0u79 (the latest available from Oracle).
I had the same problem. I changed the Text to a Label. I'm not sure it's possible in your case.