Sunday, 15 January 2012

Launch a JavaFX Application

NAME

javafx - JavaFX Launch Utility

Synopsis

javafx [options] class [argument]
javafx [options] -jar jarfile [argument] 
javafxw [options] class [argument] (Windows only)
javafxw [options] -jar jarfile [argument] (Windows only)

options
Command-line options.
class
Name of the class to be invoked.
jarfile
Name of the jar file to be invoked. Used only with -jar.
argument
Argument passed to the main function.

Description

javafx launches a JavaFX Script application. This command sets the application's classpaths and then invokes the java command to launch the application.
The javafxw command is available on Windows only. This command is identical to javafx, except that with javafxw there is no associated console window. Use javafxw when you don't want a command prompt window to appear. The javafxw launcher will, however, display a dialog box with error information if a launch fails for some reason.

No comments:

Post a Comment