Showing posts with label jar file. Show all posts
Showing posts with label jar file. Show all posts

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.

Tuesday, 27 December 2011

New to Java 6 is a lightweight database called Derby.

Derby is a product of the Apache Database project.
Derby is a transactional, relational database.
Derby provides a small footprint on disk.
Deployment is much easier because Derby supports storage of a database archived in a JAR file.
Derby allows you to simply distribute the JAR file.