Changes between Version 33 and Version 34 of Help/CommandLineOptions
- Timestamp:
- 2019-02-27T12:42:48+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/CommandLineOptions
v33 v34 71 71 == Java options ==#Javaoptions 72 72 73 They control the Java virtual machine [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html (JVM)] and can set [https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html properties] inside it. JOSM reads some of them, for example `josm.home` and `user.language`. 73 They control the Java virtual machine [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html (JVM)] and can set [https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html properties] inside it. JOSM reads some of them directly, for example `josm.home`. Others like `user.language` and `user.country` affect the default settings of the JVM which affect JOSM too. 74 74 75 {{{ 75 76 java options: … … 98 99 #!sh 99 100 # Load three files 100 java -jar josm.jar track1.gpx BigBen.jpg "london data.osm" 101 java -jar josm-tested.jar track1.gpx BigBen.jpg "london data.osm" 101 102 # Download from OSM according to an URL with zoom and coordinates 102 java -jar josm.jar https://www.openstreetmap.org/#map=19/51.51/-0.135 103 java -jar josm-tested.jar https://www.openstreetmap.org/#map=19/51.51/-0.135 103 104 # Download a bounding box and select every element matching a string 104 java -jar josm.jar 51.505,-0.14,51.515,-0.13 --selection="Piccadilly Circus" 105 java -jar josm-tested.jar 51.505,-0.14,51.515,-0.13 --selection="Piccadilly Circus" 105 106 # 106 107 # Set directory for JOSM according to a property from the operating system 107 java -Djosm.pref=$XDG_CONFIG_HOME jar josm.jar108 java -Djosm.pref=$XDG_CONFIG_HOME -jar josm-tested.jar 108 109 # Quotations for a value with space and show JOSMs GUI in English 109 java -Djosm.dir.name="josm dev" -jar josm.jar --language=en 110 java -Djosm.dir.name="josm dev" -jar josm-latest.jar --language=en 110 111 # Set the common directory in a sub-subdirectroy below the active command prompt 111 java -Djosm.home=biketour2017/london -jar josm.jar 112 # More memory in a French spoken environment113 java -Xmx1024m -Duser.language= fr-jar josm.jar112 java -Djosm.home=biketour2017/london -jar josm-tested.jar 113 # More memory in the Canadian variant of an English spoken environment 114 java -Xmx1024m -Duser.language=en -Duser.country=CA -jar josm-latest.jar 114 115 # 115 116 # Log debug info and do not get disturbed by JOSM phoning home
