Name

javaws — Java Web Start launcher

Synopsis

javaws
javaws [ options ] url
               

Description

javaws is the command-line interface to the Java Web Start network application launcher. When started without a url, javaws displays a graphical cache viewer which allows cached applications to be launched and Java Web Start to be configured.

If the URL of a JNLP (Java Network Launching Protocol) is specified on the command line, javaws launches the specified application.

Options

-association

Allows the creation of file associations during a -silent -import.

-codebase url

Overrides the codebase in the JNLP file with the specified url.

-import

Imports the specified application to the user cache but does not run it.

-offline

Runs in offline mode.

-online

Starts in online mode. This is the default behavior.

-shortcut

Allows desktop shortcuts to be created during a -silent -import.

-silent

When used with -import, this option prevents a GUI window from appearing.

-system

Uses the system cache.

-uninstall

Removes the application identified by url from the user’s cache and exits.

-updateVersions

Updates the javaws configuration file (such as after upgrading to a newer version of Java).

-userConfig name [value]

Sets the deployment property name or, if value is specified, sets it to the specified value.

-viewer

Launches the cache viewer application. This is the default behavior if javaws is invoked with no arguments.

-wait

Does not exit until the launched application exits.

-Xclearcache

Clears the user’s ...

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.