Changes between Version 23 and Version 24 of Help/CommandLineOptions
- Timestamp:
- 2018-02-10T18:17:47+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/CommandLineOptions
v23 v24 4 4 unfinished hb- 5 5 }}} 6 Three groups of command line options can be involved in starting JOSM. 6 Starting JOSM is affected by three groups of command line options. 7 Most important are the ''Programm arguments'' and also the ''Java options''. The ''run-options'' are involved in Web Start only. 7 8 8 9 {{{ 9 10 #!sh 10 # Running a jar file11 # Running a jar 11 12 java [Java options] -jar josm-tested.jar [Programm arguments] 12 13 13 # Launching aWeb Start14 javaws [run-options] <URL|path/to/josm.jnlp>14 # Web Start 15 javaws [run-options] josm.jnlp 15 16 }}} 16 17 17 Beginning on the right-hand-side of the command line these groups are:18 18 19 Programm arguments or ''Post jar arguments'' for JOSM::20 Control JOSM directly, for example `--language=ru` or `--skip-plugins` or `--help`21 <filename|URL>22 19 Java Virtual Machine options:: 23 20 Control the handler of virtual machine, for example `--Xmx2048m`. The `--jar jarfile` part is a java option, too. … … 27 24 `--offline` 28 25 29 The option group names used here follow the documentation on [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#CBBIJCHG Runtime Engine] and on [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javaws.html Web Start].30 26 31 27 === Programm arguments ===#Postjararguments 32 28 33 These options need to be provided after the -jar josm.jar part of the command line. 29 Also called ''Post jar arguments'' here or ''args'' by Java. 30 The order of these arguments behind the jarfile in the command line is important for some of them. 31 32 The first argument is the ''commmand'' for JOSM. The three possible commmands are `one` for normal work, `one` for image and `one` for something other. If JOSM can't recognize a command the default is assumed and the usual GUI is started. 33 34 The following arguments can be URLs, coordinates, options with own arguments and filenames. See the output of the --help option below. 34 35 35 36 {{{ … … 54 55 }}} 55 56 57 Make sure you load some data if you use `--selection`. 58 The --offline list may have commata between its items osm_api,josm_website. 59 56 60 === Java options ===#JOSMJVMoptions 61 62 These options are sometimes called ''JOSM JV options'' in this help or ''VM arguments'' in the JOSM status report. 57 63 58 64 provided as Java system properties … … 87 93 88 94 Parameters `--download`, `--downloadgps` and `--selection` are processed in this order. 89 Make sure you load some data if you use `--selection`. 95 96 97 The option group names used here follow the documentation on [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#CBBIJCHG Runtime Engine] and on [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javaws.html Web Start]. 98 90 99 91 100 === See also ===