Changes between Version 135 and Version 204 of Download


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v135 v204  
    11[[TranslatedPages]]
    22[[PageOutline(2-3,Table of Contents)]]
     3
    34= Download =
    45
     
    78And for very complex issues see [wikitr:/InstallNotes Installation Notes].
    89
    9 == Recommended options ==
    10 
    11 [[Image(source:trunk/images/openlocation.png, valign=middle, link=[download/josm.jnlp])]] **Start [/download/josm.jnlp josm.jnlp]** (newest tested version) [[br]]
    12 Recommended version, all platforms, automatic update to the newest ''tested version'' monthly ([#Webstart how to start]). [[br]]
    13 [[br]]
    14 
    15 [[Image(source:trunk/images/download.png, valign=middle, link=[/josm-tested.jar])]] **Download [/josm-tested.jar josm-tested.jar]** (tested version [[Version(tested)]]) [[br]]
    16 All platforms ([#Java how to run]). [[br]]
    17 [[br]]
     10== Recommended options ==#Recommendedoptions
     11[[JOSMImage(openlocation, valign=middle, link=[download/josm.jnlp])]] **Start [/download/josm.jnlp josm.jnlp]** (newest tested version) \\
     12Recommended version, all platforms, automatic update to the newest ''tested version'' monthly ([#Webstart how to start]). \\ \\
     13
     14[[JOSMImage(download, valign=middle, link=[/josm-tested.jar])]] **Download [/josm-tested.jar josm-tested.jar]** (tested version [[Version(tested)]]) \\
     15All platforms ([#Java how to run]). \\ \\
     16
    1817
    1918== All download options ==#Moredownloadoptions
    20 
    2119Every [/roadmap month] the team of JOSM [wikitr:/Releases releases] a **tested version** for download.
    22 The MS Windows and Apple Mac variants are built on this tested version.
     20The MS Windows and Apple macOS variants are built on this tested version.
    2321When you click on josm.jnlp to launch JOSM you will always get the newest tested version. Java's [wikitr:/InstallNotes#Webstart Web Start] is the mechanism behind this.
    2422
     
    2826For the latest version is also a Web Start variant available.
    2927
    30 
    31 ||= =||||= For all operating systems =||||||||||
    32 ||=Version =||=  Web Start  =||= Download =||= Windows =||= Apple Mac =||= Ubuntu, Debian…  =||= openSUSE =||
    33 ||tested [[Version(tested)]] ||   \
    34 ||   [/download/josm.jnlp josm.jnlp] ||  \
    35 ||   [/josm-tested.jar] ||           \
    36 ||   [[br]] [/download/windows/josm-setup.exe setup.exe] [[br]]''([#Mswindowswrapper see below])'' ||  \
    37 ||   [[br]] [/download/macosx/josm-macosx.zip package.zip] [[br]]''([#Macoserrors see below])'' ||  \
    38 ||   ''[#Ubuntu see below]'' ||          \
    39 ||   ''[#Opensuse see below]'' ||
    40 ||latest [[Version(latest)]] || \
    41 ||   [/download/josm-latest.jnlp latest.jnlp] ||  \
    42 ||   [/josm-latest.jar] || \
    43 ||   || || ''[#Ubuntu see below]'' || ||
    44 ||=older =|| || [/download/ download/] || || || [/apt/dists/ dists/] || ||
    45 
    46 When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth.
     28||= =||||= **For all operating systems** =|||||||| ||= **Development** =||
     29||=**Version** =||= **Web Start** =||= **Download** =||= **Windows** =||= **Apple macOS** =||= **Ubuntu, Debian…**  =||= **openSUSE** =||= **Jar / Javadoc / Source** =||
     30||**tested [[Version(tested)]]** ||  \
     31||  [/download/josm.jnlp josm.jnlp]  ||  \
     32||  [/josm-tested.jar]  ||  \
     33||  \\ [/download/windows/josm-setup.exe josm-setup.exe] \\ [/download/windows/josm-setup.msi josm-setup.msi] \\ [https://apps.microsoft.com/store/detail/josm/XPFCG1GV0WWGZX Microsoft Store]\\ ''([#Mswindowswrapper see below])''  ||  \
     34||  \\ [/download/macosx/josm-macosx.zip JOSM macOS .zip package] \\ ''or ([#macOS homebrew])''  ||  \
     35||  ''[#Ubuntu see below]''  ||  \
     36||  ''[#Opensuse see below]''  ||  \
     37||  [/nexus/content/groups/public/org/openstreetmap/josm/josm/ josm]:[[Version(tested)]]  ||
     38||**latest [[Version(latest)]]** || \
     39||  [/download/josm-latest.jnlp latest.jnlp]  ||  \
     40||  [/josm-latest.jar]  || || ||  \
     41||  ''[#Ubuntu see below]''  || ||  \
     42||  [/nexus/content/groups/public/org/openstreetmap/josm/josm/SNAPSHOT/ Use snapshots]  ||
     43||=''**older**'' =|| ||  \
     44||  [/download/ download/]  || ||  \
     45||  [https://github.com/openstreetmap/josm/releases automatic JOSM.app builds]  ||  \
     46||  [/apt/pool/universe/j/ pool/]  || ||  \
     47||  [/nexus/content/groups/public/org/openstreetmap/josm/josm/ tested versions]  ||
     48
     49When running scripts please first check on [/latest latest], [/tested tested] or [/version all] to reduce download bandwidth.
    4750
    4851** Strip translations **[=#Striptranslations]  \\
    4952If download size is an issue, smaller files of the tested version are available. For downloads containing only English append [/josm-tested.jar?lang=en ?lang=en] to the URL. To include one translation replace `en` with the [wikitr:/TracLanguages language code] you want (lowercase first character, supported languages only). You can further reduce the file size by stripping the signing information off with appending [/josm-tested.jar?lang=en&unsigned=1 ?unsigned=1].
    5053
    51 == Repositories ==
     54
     55== Linux Repositories ==
     56=== JOSM's Debian based mainly for Ubuntu ===#Ubuntu
     57This is our own package repository primarily for Ubuntu. It should also work with other Debian based (especially Ubuntu based) distributions, but we do not actively test and maintain any distributions other than Ubuntu.
     58
     59The repository contains two packages:
     60* ''josm'' – Provides the tested version (stable). Replaces the package from the official repository of your distribution. The default JOSM directories name is set to `JOSM`.
     61* ''josm-latest'' – The latest version (nightly). Can be installed in parallel to the josm package, therefore the default JOSM directories name is set to `JOSM-latest`.
     62Both packages provide `/etc/default/josm` respectively `/etc/default/josm-latest` as config file for [wikitr:Help/CommandLineOptions#Javaoptions java options].
     63
     64In addition to the regular procedure described below, older DEBs can be manually downloaded from the [/apt/pool/universe/j/ archives].
     65
     66==== Installation ====
     67Edit the package resource list `/etc/apt/sources.list.d/josm.list`:
     68{{{#!sh
     69sudo editor /etc/apt/sources.list.d/josm.list
     70}}}
     71{{{#!comment
     72### below does not work on GNU Debian systems
     73`sudo $EDITOR /etc/apt/sources.list.d/josm.list`
     74}}}
     75
     76and add one of the following lines according to your Ubuntu-Version:
     77
     78{{{#!sh
     79deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt lunar universe
     80deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt kinetic universe
     81deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt jammy universe
     82deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt impish universe
     83deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt hirsute universe
     84deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt groovy universe
     85deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt focal universe
     86deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt eoan universe
     87deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt disco universe
     88deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe
     89
     90# For other Debian based distributions add:
     91deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe
     92}}}
     93
     94Alternatively, this can be done with the following one-liner in Ubuntu (not for Ubuntu based distributions like Linux Mint):
     95{{{#!sh
     96echo "deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     97}}}
     98or for Linux Mint:
     99{{{#!sh
     100echo "deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt $(grep ^DISTRIB_CODENAME= /etc/upstream-release/lsb-release| awk -F = '{print $(2)}') universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     101}}}
     102
     103{{{#!comment
     104### below did not work on all systems
     105and add the following line:
     106{{{#!sh
     107`deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt VERSION universe`
     108}}}
     109}}}
     110
     111Download the [/josm-apt.key public key]:
     112{{{#!sh
     113# Create the directory for manually downloaded keys if it was not already created
     114sudo mkdir -p /usr/local/share/keyrings
     115# Download the key
     116wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor -o /usr/local/share/keyrings/josm-apt.gpg
     117}}}
     118In the past, instructions used `apt-key`. If the key was added to system's keyring, following line will remove it:
     119{{{#!sh
     120sudo apt-key del $(apt-key list | grep -B1  "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57)
     121}}}
     122
     123Now refresh your sources:
     124{{{#!sh
     125# You may need to install ssl support for apt in advance:
     126sudo apt-get install apt-transport-https
     127# Refresh sources
     128sudo apt-get update
     129}}}
     130
     131and install:
     132{{{#!sh
     133# You can skip this first line if these packages were not installed before.
     134sudo apt-get remove josm josm-plugins
     135
     136# For the tested version
     137sudo apt-get install josm
     138# For the development version
     139sudo apt-get install josm-latest
     140}}}
     141
     142
     143=== GNU Debian ===#GNUDebian
     144Our own Ubuntu packages, [#Ubuntu above], work on Debian and we recommend to use them. Depending on the setup of `sudo`, some instruction will not work as "normal" user but only as `root`.
     145
     146Since Debian 11 (bullseye) the [https://packages.debian.org/stable/josm-installer josm-installer] is available under **''main''** in section **''utils''**. It downloads the current .jar file from this site and updates it if necessary.
     147
     148The tested version of [https://packages.debian.org/stable/josm JOSM] is available under **''main''** in section **''utils''**, but the version is usually quite old. \\
     149Please, use the [https://backports.debian.org backports repository] to get a more up-to-date version, see [https://backports.debian.org/Instructions Instructions]. Still this version might be quite old.
    52150
    53151=== openSUSE  ===#Opensuse
     
    55153The tested version of JOSM is available in the Application:Geo repository.
    56154
    57 First add as root user in yast or with zypper the repository (replace the version in the URL with the one you are using):
    58 {{{
    59 zypper ar -f https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.0 Application:Geo
     155First add as root user in yast or with zypper the repository (for Tumbleweed replace **$releasever** with **openSUSE_Tumbleweed**):
     156{{{#!sh
     157zypper ar -f 'https://download.opensuse.org/repositories/Application:/Geo/$releasever' Application:Geo
    60158}}}
    61159
    62160Then simply install ''josm'' and ''josm-fonts'' package.
    63161
    64 === Ubuntu ===#Ubuntu
    65 
    66 This is a package repository primarily for Ubuntu. It should also work with other Debian based (especially Ubuntu based) distributions, but we do not actively test and maintain any distributions other than Ubuntu.
    67 
    68 The repository contains two packages:
    69 * ''josm''  – Provides the tested version (stable).  Replaces the package from the official Ubuntu repository.
    70 * ''josm-latest'' – The latest version (nightly). Can be installed parallel to the josm package. The default preference folder is {{{~/.josm-latest}}}.
    71 
    72 In addition to the regular procedure described below, older DEBs can be manually downloaded from the [/apt/pool/universe/j/ archives].
    73 
    74 ==== Installation ====
    75 
    76 Edit the package resource list {{{/etc/apt/sources.list}}}:
    77 
    78 {{{
    79 #!sh
    80 sudo editor /etc/apt/sources.list
    81 }}}
    82 
    83 and add one of the following lines according to your Ubuntu-Version:
    84 
    85 {{{
    86 #!sh
    87 deb https://josm.openstreetmap.de/apt trusty universe
    88 deb https://josm.openstreetmap.de/apt xenial universe
    89 deb https://josm.openstreetmap.de/apt artful universe
    90 # For other Debian based distributions add:
    91 deb https://josm.openstreetmap.de/apt alldist universe
    92 }}}
    93 
    94 Alternatively, this can be done with the following one-liner in Ubuntu:
    95 {{{
    96 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | ↩
    97 ↪sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
    98 }}}
    99 
    100 {{{#!comment
    101 ### below did not work on all systems
    102 and add the following line:
    103 `
    104 deb https://josm.openstreetmap.de/apt VERSION universe
    105 `
    106 }}}
    107 
    108 Download and register the [[/josm-apt.key|public key]]:
    109 {{{
    110 #!sh
    111 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
    112 }}}
    113 
    114 Now refresh your sources (you may need to install `sudo apt-get install apt-transport-https`)
    115 {{{
    116 #!sh
    117 sudo apt-get update
    118 }}}
    119 and install:
    120 
    121 {{{
    122 #!sh
    123 # You can skip this first line if these packages were not installed before.
    124 sudo apt-get remove josm josm-plugins
    125 
    126 # For the tested version
    127 sudo apt-get install josm
    128 # for the development version
    129 sudo apt-get install josm-latest
    130 }}}
    131162
    132163== Troubleshooting ==
     
    134165[=#Doubleclickonafiledoesnothing When you double-click on a jar file and nothing happens] in most cases this means Java isn't installed.
    135166
    136 JOSM is tested with Oracles variant, so we recommend to get Java from their pages for [https://www.java.com/download/manual.jsp manual] downloads or [http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html intermediate] versions. But first give the Java already distributed with the operating system a try, [https://en.wikipedia.org/wiki/OpenJDK for example].
     167JOSM was tested with Oracles variant, so we used to recommend getting Java from their pages for [https://www.java.com/download/manual.jsp manual] downloads or [https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html intermediate] versions.
     168
     169JOSM now recommends [https://www.azul.com/downloads/?package=jre-fx#download-openjdk Azul] or [https://bell-sw.com/pages/downloads/?package=jre-full#mn Bellsoft Liberica] JDK's. Generally speaking, the current Java LTS should be preferred (at time of writing, that would be Java 17), but Java 8 will work. See the [source:/trunk/README README] for current recommendations. But first give the Java already distributed with the operating system a try, [https://en.wikipedia.org/wiki/OpenJDK for example].
     170
    137171
    138172When choosing a download keep in mind:
     
    144178''Java'' in this section means a JRE (Java Runtime Engine) which provides a JVM (Java Virtual Machine) to run JOSM, a Java program that is developed using JDK (Java Development Kit) and sometimes launched with the JNLP (Java Network Launch Protocol aka Web Start and successor of Java Plug-ins).
    145179
    146 ==== Testing Java ====#Javatest
     180==== Testing Java ====#JavaTest
    147181[=#Troubleshootingjarfile] Checks if Java is installed and why JOSM does not start (example mainly for MS Windows).
    1481821. Download [/josm-tested.jar josm-tested.jar] to your desktop.
     
    157191=== Web Start ===#Webstart
    158192[=#Troubleshootingjhlplink]
    159 Launching JOSM via Web Start has many more error causes than the traditional way with first downloading a jar file and afterwards starting it.
    160 So please test [#JavaTest Java] first and then run the tests described below or elsewhere [https://www.java.com/en/download/faq/java_webstart.xml Web Start issues].
     193You need to install [https://openwebstart.com/ OpenWebStart] first. It will download and run Java by itself. The transition from Oracle WebStart to OpenWebStart is still in progress, so in case of issue please create a [/newticket new ticket] or post a comment to #17858.
     194
     195You may need to update the default application for opening JNLP files if you previously used Oracle WebStart. See [https://openwebstart.com/docs/OWSGuide.html#_jnlp_file_association jnlp file association] for instructions on setting OpenWebStart as the default program for jnlp files.
    161196
    162197==== Testing Web Start ====#Webstarttest
    163 1. Download [/josm-tested.jar josm.jnlp] to your desktop.
     1981. Download [/download/josm.jnlp josm.jnlp] to your desktop.
    1641991. Open a Terminal and move to the Desktop as above
    165 1. Type `javaws josm.jnlp`⏎. This should initially download JOSM, serve a security dialog and then launch JOSM.
     2001. Type `javaws josm.jnlp`⏎. This should initially download JOSM, show a security dialog and then launch JOSM.
     2011. If that fails, then type `javaws -verbose josm.jnlp`⏎. This should first show a dialog with information about the JVM and then launch JOSM.
    166202
    167203
    168204=== Virtual Machine ===#Troubleshootingjvm
    169 
    170205==== Out of memory ====
    171 
    172206Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown.
    173207Wrongly chosen values can decrease JOSM performance.
    174208
    175209For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure a memory size that supports more plugins and features. On the other hand can slow machines be stabilized by restricting Javas memory use.
    176 If needed, use the [wikitr:Help/CommandLineOptions command line] to set the [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI Java Option] -Xmx…m, for example `-Xmx512m` or `-Xmx1536m`.
     210If needed, use the [wikitr:/Help/CommandLineOptions command line] to set the [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI Java Option] -Xmx…m, for example `-Xmx512m` or `-Xmx1536m`. In Debian/Ubuntu you can edit the file `/etc/default/josm` respectively `/etc/default/josm-latest`. \\
    177211Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages.
    178212
    179 
    180213==== VM selection ====#VMselectiononWindowsx64
    181 
    182214On current versions of MS Windows by default Java is installed mainly in the `C:\Program Files\Java\` directory. Additional parts are placed in `C:\Program Files\Oracle\Java\`. There is a `.\javapath\` directory as target for the PATH environment variable. It is the home for the three virtual files `java.exe`, `javaw.exe` and `javaws.exe`. This files are symbolic links form the current Java installations.
    183215
    184216On older versions of 64 bit Windows sometimes the 32 bit mode JRE was additionally installed.  Also some browsers brought their own JVM with limited capabilities. In those cases a Web Start from the browser would not use your Java installation but that from the browser.
    185217
    186 Check that there's no other javawebstart in {{{\Windows\SysWow64}}}. The Java control panel will not detect it and you can safely delete it. Perfom cleanup and only keep the latest versions of each JRE (One or the 32-bit mode, another one for the 64-bit mode).
    187 
    188 For shortcuts created on the desktop for JNLP and running the Javawebstart launcher , make sure to pass VM parameters prefixed with -J and no intermediate space before the VM option. If you have installed both the 32-bit and 64-bit version, you should pass the option "{{{-d64}}}" if you want to select the preferred 64-bit VM. Note that some Oracle documentation pages indicate the option "-D64" with the incorrect capitalization!)
     218Check that there's no other javawebstart in `\Windows\SysWow64`. The Java control panel will not detect it and you can safely delete it. Perform cleanup and only keep the latest versions of each JRE (One or the 32-bit mode, another one for the 64-bit mode).
     219
     220For shortcuts created on the desktop for JNLP and running the Javawebstart launcher , make sure to pass VM parameters prefixed with -J and no intermediate space before the VM option. If you have installed both the 32-bit and 64-bit version, you should pass the option "`-d64`" if you want to select the preferred 64-bit VM. Note that some Oracle documentation pages indicate the option "-D64" with the incorrect capitalization!)
    189221
    190222Example of an edited command line for a shortcut on the windows desktop:
     
    194226}}}
    195227
     228
    196229=== Windows josm.exe ===#Mswindowswrapper
    197 
    198230Using josm-setup.exe for installation on Microsoft Windows does the following:
    199  * Puts the files `josm-tested.jar` and `josm.exe` in directory chosen by the user, default is `C:\Program Files (86)\JOSM\`
    200  * Suggests to register josm.exe as target for the file extensions `*.osm` and `*.gpx`.
    201  * Suggests to place JOSM shortcut icons on the Desktop and in the Start Menu (Currently they are placed for an admin only and can be copied from there, #11398).
    202  * Asks if the Plug-Ins Imagery offset database and Turn restrictions should be provided.
     231 * Puts two executable files `JOSM.exe` and `HWConsole.exe` in directory `%LOCALAPPDATA%\JOSM`
     232 * Registers JOSM.exe as target for the file extensions `*.osm`, `*.geojson`, `*.gpx`, `*.jos` and `*.joz`.
     233 * Places JOSM shortcut icons on the Desktop and in the Start Menu.
    203234 * Adds uninstall data at the appropriate places.
    204235
    205 When starting, josm.exe searches its directory for the jar file and runs the command `\path\to\javaw.exe -Xms128m -Xmx1024m -jar \path\to\josm-tested.jar`.
    206 Josm.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
    207 
    208 When josm.exe finds the argument `--l4j-debug`, it writes the log file `launch4j.log` into the current directory if that is writeable. Some other [http://launch4j.sourceforge.net/docs.html#Runtime_options options] are possible and all usual [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments] too. See example:
     236When starting, JOSM.exe starts JOSM with an embedded version of Java maintained by JOSM developers, based on Azul Zulu.
     237JOSM.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
     238
     239HWConsole.exe is similar to JOSM.exe but start JOSM while keeping open a Windows console displaying JOSM standard output (logs).
     240
     241JOSM.exe accepts all usual [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments]. See example:
    209242
    210243{{{
    211244#!sh
    212 # Write a log while starting JOSM and load OSM data
    213 josm.exe --l4j-debug https://www.osm.org/way/476702262
    214 }}}
    215 
    216 For giving [wikitr:Help/CommandLineOptions#Javaoptions Java options] to the Java VM josm.exe uses the optional file `josm.l4j.ini` in its directory. In this file each option needs a separate line and comments are possible, see [http://launch4j.sourceforge.net/docs.html#Additional_jvm_options Additional JVM options].
    217 
    218 While being a 32-bit program, josm.exe seems to need a 64-bit Java on 64-bit Windows.
    219 
    220 === MacOS Errors ===#Macoserrors
    221 [=#MacOSErrors][=#MacOSXMountainLionErrors]
     245# Load OSM data
     246josm.exe https://www.osm.org/way/476702262
     247}}}
     248
     249For giving [wikitr:/Help/CommandLineOptions#Javaoptions Java options] to the Java VM JOSM.exe uses the configuration file `JOSM.cfg` in its app sub-directory. In this file each option needs a separate line.
     250
     251=== macOS ===#macOS
     252[=#MacOSErrors][=#MacOSXMountainLionErrors][=#Macoserrors]
    222253{{{
    223254#!comment
     
    225256}}}
    226257
    227 Apple has two mechanisms to ''protect'' you from using JOSM: [https://support.apple.com//HT201940 File Quarantine] and [https://support.apple.com//HT202491 Gatekeeper].
    228 
    229 ==== Downloaded from the internet ====
    230 If you get an error saying "'JOSM.app' is an application downloaded from the internet." you can bypass this by **right-clicking on JOSM.app** or josm.jnlp and selecting 'open'. You should then see the same message but this time with an option to "Open" regardless. This is only necessary on the first run of JOSM.
    231 
    232 ==== Damaged ====
    233 [[Image(#8787:damaged_josm_app.png,width=300,align=left,margin-top=-50,margin-right=30)]]
    234 
    235 If you get an error saying "'JOSM.app' is damaged and can't be opened. You should move it to the Trash", then you need to temporarily disable Gatekeeper.
    236 
    237 Open System Preferences and the 'Security & Privacy' options. Set 'Allow applications downloaded from:' to 'Anywhere'.
    238 
    239 [[Image(SecurityPrivacy.png,align=right,float=left,width=300)]]
    240 
    241 If that radio button is missing from the Security & Privacy preferences panel, open the Terminal window. The following command may become the radio button to appear.
    242 
    243 {{{
    244 sudo spctl --master-disable
    245 }}}
    246 
    247 
    248258==== Using brew ====#brew
    249 MacOS users may choose [https://brew.sh/ homebrew] package manager as a universal way to install and update their JOSM instance.
    250 
    251 Using `brew cask` eliminates most of the above-mentioned issues. (see. [https://caskroom.github.io/]).
    252 
    253 Open Terminal and run the next commands to install or upgrade JOSM to the current tested version, respectively:
    254 
    255 {{{
    256 brew cask install josm
    257 }}}
    258 {{{
    259 brew cask upgrade josm
    260 }}}
     259macOS users may use the [https://brew.sh/ homebrew] package manager to install and update their JOSM instance.
     260
     261In Terminal, run the `brew install --cask josm` to install or `brew upgrade --cask josm` to upgrade to the current tested version of JOSM.
     262
     263
    261264=== Known issues ===
    262 
    263 Not closed issues about ...:
    264 * [/query?status=!closed&type=defect&keywords=~java Java issues] - some of the bugs lead to blockers in Oracle JVM (covered at [[JavaBugs]]).
     265Not closed issues about …:
     266* [/query?status=!closed&type=defect&keywords=~java Java issues] - some of the bugs lead to blockers in Oracle JVM (covered at [wiki:JavaBugs JavaBugs]).
    265267* [/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~linux&order=priority Linux]
    266268* [/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~ubuntu&order=priority Ubuntu]
    267 * [/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~macos&order=priority MacOS]
     269* [/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~macos&order=priority macOS]
    268270* [/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~windows&order=priority Windows]