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).
This isn't a direct answer, however I thought it important to pass on that this bug has been identified and fixed in an upcoming Java release. See https://bugs.openjdk.java.net/browse/JDK-8143907