You use the javaws tool command and its options to start Java Web Start.
Synopsis
javaws [run-options] jnlp
javaws [control-options]
run-optionsThe run-options can be in any order. See Run-Options for the javaws Command.
jnlpThis represents either the path of or the URL of the Java Network Launching Protocol (JNLP) file.
control-optionsThe control-options can be in any order. See Control-Options for the javaws Command.
Description
Note:
The javaws command isn’t available on Oracle Solaris.
The javaws command starts Java Web Start, which is the reference implementation of the JNLP file. Java Web Start starts Java applications and applets hosted on a network.
If a JNLP file is specified, then the javaws command starts the Java application or applet specified in the JNLP file.
The javaws command has a set of options that are supported in the current release. However, the options may be removed in a future release.
See Java Platform, Standard Edition Deployment Guide for information about the user and system cache and deployment.properties files.
Run-Options for the javaws Command
-verboseDisplays additional output.
-offlineRuns the application in offline mode.
-systemRuns the application from the system cache only.
-XnosplashRuns without displaying a splash screen.
-JoptionPasses the option to the Java Virtual Machine (JVM), where option is one of the options described on the reference page for the Java application launcher. For example, -J-Xms48m sets the startup memory to 48 MB. See java.
-waitStarts the java process and waits for its exit. The javaws tool process does not exit until the application exits. This option doesn’t function as described on Windows platforms.
-open argumentsReplaces the arguments in the JNLP file with -open arguments .
—print argumentsReplaces the arguments in the JNLP file with -print arguments .
Control-Options for the javaws Command
-viewerShows the cache viewer in the Java Control Panel.
-userConfig property-nameClears the specified deployment property.
-userConfig property-name property-valueSets the specified deployment property to the specified value.
-clearcacheRemoves all noninstalled applications from the cache.
-uninstallRemoves all applications from the cache.
-uninstall jnlp fileRemoves the application from the cache.
-import import-options jnlp-fileImports the application to the cache. See Import-Options for the javaws Command for the list and description of available options.
Import-Options for the javaws Command
-silentImports silently without the user interface.
-systemImports the application to the system cache.
-codebase urlRetrieves resources from the specified codebase.
-shortcutInstalls shortcuts if the user allows a prompt. This option has no effect unless the -silent option is also used.
-associationInstalls associations if the user allows a prompt. This option has no effect unless the -silent option is also used.
Note:
The command, javaws -shortcut -uninstall, removes both the association as well as the implementation.