Monday, March 12, 2012

How to run JavaFX application as a standalone program

In NetBeans, the generated executable Jar File is available on a local drive. Such as(in Windows):
C:\Users\Seven\Documents\NetBeansProjects\JavaFX_Path\dist\JavaFX_Path.jar

It can be launched by:
  • Open cmd window.
    Switch to the destination directory.
    type: java -jar JavaFX_Path.jar.
    How to run JavaFX application as a standalone program in DOS prompt

  • Open File Browser.
    Switch to the destination directory.
    Double click the application JAR file.
    How to run JavaFX application as a standalone program in File Browser

No comments:

Post a Comment