Review Request: 8001533: Java launcher must launch JavaFX applications

David DeHaven david.dehaven at
Wed Nov 14 17:43:12 UTC 2012



This change adds support in the Java launcher to launch JavaFX applications directly (without the aid of launcher code injected by javafxpackager). This is accomplished by first checking if the JavaFX-Application-Class field is present in the jar manifest and if so (and a valid class) then that class is launched, otherwise Main-Class is used. Additionally, since JavaFX applications may not necessarily have a main method, if no main method is found then the main class (however specified or discovered) is checked to determine if it (eventually) extends javafx.application.Application and if so is launched via a helper class.


More information about the core-libs-dev mailing list