Changes between Version 119 and Version 120 of Download


Ignore:
Timestamp:
2018-02-09T20:51:23+01:00 (6 years ago)
Author:
Hb---
Comment:

First paragraph floating, no bullet points in front of the icons, shorter, each table cell one line, Troubleshooting restructured - incomplete

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v119 v120  
    11[[TranslatedPages]]
    2 [[PageOutline(2-5,Table of Contents)]]
     2[[PageOutline(2-3,Table of Contents)]]
    33= Download =
    44
    55This page provides basic JOSM installation steps and troubleshooting information.
    6 
    7 To start working with JOSM you can read the [wiki:Introduction] and the [wiki:Help] pages.
     6To start working with JOSM please see the [wiki:Introduction] and the [wiki:Help] pages.
     7And for complex installation issues see [wiki:InstallNotes].
    88
    99== Recommended options ==
    1010
    11 * [[Image(source:trunk/images/openlocation.png, valign=middle, link=)]] '''Launch [/download/josm.jnlp josm.jnlp] (version [[Version(tested)]])''' - recommended version, all platforms, automatic update ([#Troubleshootingjnlplink ''.jnlp link'' doesn't work for you?])
    12 * [[Image(source:trunk/images/download.png, valign=middle, link=)]] '''Download [/josm-tested.jar josm-tested.jar] (version [[Version(tested)]])''' - all platforms ([wiki:Download#Troubleshootingjarfile not able to run a file?]). Additional memory and other tips covered at [[Help/CommandLineOptions]].
     11[[Image(source:trunk/images/openlocation.png, valign=middle, link=download/josm.jnlp )]] **Launch [/download/josm.jnlp josm.jnlp]** (newest tested version) [[br]] Recommended version, all platforms, automatic update to the newest ''tested version'' monthly ([wiki:#Troubleshootingjnlplink how to launch]).[[br]]
    1312
    1413[[br]]
    15 
    16 == More download options ==
    17 
    18 ''Note that [/roadmap there are fairly regular updates], so always try running a recent version (and also recent plugins)''.
    19 
    20 || ||= OS Independent =||= [https://www.java.com/en/download/faq/java_webstart.xml Web Start] =||= Windows =||= Mac OS X =||= Ubuntu, … =||= openSUSE =||
    21 ||= **tested** [[Version(tested)]] =|| **[/josm-tested.jar jar ]** || [/download/josm.jnlp jnlp] || [/download/windows/josm-setup.exe setup.exe] ([wiki:USB_Stick portable]) || [/download/macosx/josm-macosx.zip package.zip] ([#MacOSXerrors first run error]) || ''[#Ubuntu see below]'' || ''[#openSUSE see below]'' ||
    22 ||= latest [[Version(latest)]] =|| [/josm-latest.jar jar] || [/download/josm-latest.jnlp jnlp] || || || ''[#Ubuntu see below]'' || ||
     14[[Image(source:trunk/images/download.png, valign=middle, link=)]] **Download [/josm-tested.jar josm-tested.jar]** (tested version [[Version(tested)]]) [[br]] All platforms ([wiki:Download#Troubleshootingjarfile how to start]).
     15
     16[[br]]
     17
     18== All download options ==#Moredownloadoptions
     19
     20Every [/roadmap month] the team of JOSM [wiki:Releases releases] a ''tested version''.
     21It is the base for the MS Windows portable variant and for the Apple Mac variant.
     22When you click to launch josm.jnlp, Java's [wiki:InstallNotes#Webstart Web Start] provides you always with the newest tested version of JOSM.
     23
     24Every [/log/josm/?verbose=on&limit=20 night] the build systems generate a ''latest version''.
     25These versions might have severe errors or even crash. But mostly they work well, too.
     26For the latest version is also a Web Start variant available.
     27
     28||= Version =||= OS Independent[[br]]Download =||= OS Independent[[br]]Web Start =||= Windows =||= Apple Mac =||= Ubuntu, Debian…  =||= openSUSE =||
     29|| **tested** [[Version(tested)]] ||  \
     30|| **[/josm-tested.jar jar ]** ||     \
     31|| **[/download/josm.jnlp josm.jnlp]** ||  \
     32|| [/download/windows/josm-setup.exe setup.exe][[br]]''([wiki:USB_Stick portable])'' ||  \
     33|| [/download/macosx/josm-macosx.zip package.zip][[br]]''([#MacOSerrors see below])'' ||  \
     34|| ''[#Ubuntu see below]'' ||  \
     35|| ''[#openSUSE see below]'' ||
     36|| latest[[br]][[Version(latest)]] ||  \
     37|| [/josm-latest.jar jar] ||      \
     38|| [/download/josm-latest.jnlp latest.jnlp] || || || ''[#Ubuntu see below]'' || ||
    2339||= older =|| [/download/ download/] || || || || || ||
    2440
    25 === latest or tested or webstart ===
    26 * ''tested'' - [wiki:Releases released approx. monthly and shouldn't contain severe bugs]
    27 * ''latest'' (development version) - [wiki:Releases released daily, may have more errors]
    28 * ''.jnlp link'' - If possible, use the Web Start version in order to '''automatically update'''.
    29 
    30  * Prepare a [wiki:USB_Stick USB flash drive] to use JOSM on any foreign Windows machine.
    31  * For download scripts use version check for [/latest latest] and [/tested tested] (or [/version both]) to reduce download bandwith
    32 
    33 === openSUSE repository ===#openSUSE
     41
     42When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth.
     43
     44==== Strip translations ====
     45
     46If download size is an issue for you:
     47 * Append **?lang=…** to the download link address for the tested version to strip unused translations (e.g. **?lang=de** will download JOSM in German language only).
     48 * **Note**: Use underscore to separate [[Translations|language codes]] with country code extensions, e.g. **?lang=en_GB**
     49 * Append **?unsigned=1** to strip the code signing information
     50 * When **lang** and **unsigned** are used the separation is a **&** sign like in **?lang=de&unsigned=1**
     51
     52The file size shrinks from .jar: 10.2M over .jar?lang=de: 8.2M to .jar?lang=de&unsigned=1: 7.7M (as of version 10786).
     53
     54== Repositories ==
     55
     56=== openSUSE  ===#openSUSE
    3457
    3558Tested version of JOSM is available in the Application:Geo repository.
     
    4265Then simply install **josm** and **josm-fonts** package.
    4366
    44 === Ubuntu repository ===#Ubuntu
     67=== Ubuntu ===#Ubuntu
    4568
    4669This 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.
    4770[[BR]]
    48 Note: in addition to the regular procedure described below, older DEBs can be manually downloaded and clicked to be installed from the following directories:   [https://josm.openstreetmap.de/apt/pool/universe/j/josm/ for josm]  [https://josm.openstreetmap.de/apt/pool/universe/j/josm-latest/ for josm-latest] 
     71Note: in addition to the regular procedure described below, older DEBs can be manually downloaded from the archives [https://josm.openstreetmap.de/apt/pool/universe/j/josm/ for josm] aka josm-tested and [https://josm.openstreetmap.de/apt/pool/universe/j/josm-latest/ for josm-latest].
    4972
    5073The repository contains two packages:
     
    122145
    123146== Troubleshooting ==
    124 === Troubleshooting jar file ===
    125 
    126 ==== Double click on a file does nothing ====
    127 
    128 In most cases this means Java (JVM) wasn't installed. JOSM is tested and developed with Oracle JVM, therefore it is recommended to get it from java.com site.
    129 
    130 * https://www.java.com/en/download/ - main resource, usually Installation process goes without any problems
    131 * https://www.java.com/en/download/help/download_options.xml - additional steps for all systems
    132 * https://www.java.com/en/download/help/index_installing.xml?os=All+Platforms&j=8&n=20 - please narrow down your question at their help portal about questions during installation
    133 
    134 If at least one Java was installed, refer to pages:
    135 * https://www.java.com/en/download/help/troubleshoot_java.xml - it contains most common troubleshooting questions
    136 * https://www.java.com/en/download/help/ - this page contains "Top 8 Java Issues", one of them may be yours
    137 
    138 ==== Strip down unnecessary translations in .jar ====
    139 
    140 If download size is an issue for you:
    141  * Append **?lang=…** to the download link address for both releases to strip unused translations (e.g. **?lang=de** will download JOSM in German language only).
    142  * **Note**: Use underscore to separate [[Translations|language codes]] with country code extensions, e.g. **?lang=en_GB**
    143  * Append **?unsigned=1** to strip the code signing information
    144  * When **lang** and **unsigned** are used the separation is a **&** sign like in **?lang=de&unsigned=1**
    145 
    146 10786 .jar: 10.2M[[br]]
    147 10786 .jar?lang=de: 8151k[[br]]
    148 10786 .jar?lang=de&unsigned=1: 7688k
    149 
    150 === Troubleshooting jnlp link ===
    151 
     147=== Troubleshooting jar file ===#java
     148
     149==== Double click does nothing ====#Doubleclickonafiledoesnothing
     150
     151In most cases this means Java wasn't installed.
     152JOSM is tested and developed with Oracle JVM, therefore we recommend to get it from their [https://www.java.com/en/download/manual.jsp manual Java download site].
     153Keep your systems architecture (32 bit or 64 bit) in mind when choosing the installation. Java 64 bit is recommended for JOSM.
     154Note that ''Java'' is the common name for a product now called ''Java Runtime Environment'' or short ''JRE''.
     155In former years slightly different names were used.
     156Please avoid the page java.com/en/download because it has an automatic detection that can mislead you.
     157You do **not** need a Java-Plugin for your web browser to work with JOSM.
     158
     159If you still can't download or install Java, visit [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshoot] page for more information.
     160
     161==== [Java Test] ====
     162Checks to see why JOSM is not starting on a system, examples are for MS Windows.
     1631. Download [/josm-tested.jar josm-tested.jar] to your desktop.
     1641. Open a Command Prompt aka Terminal
     1651. Type `cd %homepath%\desktop ⏎`
     1661. Type `java -version ⏎`
     1671. Now you should see three lines with Javas version data. If you see any other message, Java is not properly working on your machine.
     1681. Type `java -jar josm-tested.jar ⏎`
     1691. Now you should see JOSM starting up.
     170
     171=== Troubleshooting jnlp link ===#Troubleshootingjhlplink
     172[#webstart]
     173Launching JOSM via Web Start has many more possible error causes than the step-by-step way with first downloading a jar file and then running it. So please work the check
     174So please download the [/josm-tested.jar josm-tested.jar] file and try to start
    152175Assuming, [wiki:Download#Doubleclickonafiledoesnothing JVM was already installed], read [https://www.java.com/en/download/faq/java_webstart.xml Web Start] help.
    153176
    154 === Troubleshooting JVM ===
     177=== Troubleshooting JVM ===#Troubleshootingjvm
    155178
    156179==== Out of memory ====
     
    160183To avoid this, the assigned memory can be increased with {{{-Xmx}}} option, see [[Help/CommandLineOptions]] for details.
    161184
    162 ==== VM selection on Windows x64 ====
    163 
    164 For Windows, beware that some browsers may install their own JRE only in 32 bit mode, but may also install their version of the Javawebstart tool somewhere else with different file associations. This may cause your JNLP to start with this alternate JRE because it runs the wrong version of Javawebstart which only supports the 32 bit VM, and sometimes is built with a restricted support for VM options and a max VM size not exceeding 256MB.
     185==== VM selection ====#VMselectiononWindowsx64
     186
     187On 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 `.\javapath\` is the target for the PATH environment variable and virtual home for the three files `java.exe`, `javaw.exe` and `javaws.exe`.
     188
     189The three paragaphes below deal with older versions of Windows and Java.
     190
     191For Windows 64-Bit, beware that some browsers may install only a JRE 32 bit mode, but may also install their version of the Javawebstart tool somewhere else with different file associations. This may cause your JNLP to start with this alternate JRE because it runs the wrong version of Javawebstart which only supports the 32 bit VM, and sometimes is built with a restricted support for VM options and a max VM size not exceeding 256MB.
    165192
    166193Check, for example, if there's no other javawebstart in {{{\Windows\SysWow64}}}. You should not need it (the Java control panel will not detect it) and can safely delete it. Perfom cleanup and only keep the latest version of the JRE (1 for the 32-bit mode, another one for the 64-bit mode).
     
    171198{{{
    172199#!sh
    173 C:\Windows\System32\javaws.exe -J-d64 -Xmx=2048m -localfile -J-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp "C:\Users\<snipped user name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
    174 }}}
    175 You don't need to change the end of the command line with the snipped parts here. Just check the path for {{{javaws.exe}}} and add options {{{-J-d64}}} for the 64-bit mode needed to work with large OSM datasets, and {{{-Xmx=2048m}}} to increase the VM size (to 2GB here).
     200<path>javaws.exe -J-d64 -J-Xmx2048m -localfile -J-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp "C:\Users\<name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
     201}}}
     202You don't need to change the end of the command line with the snipped parts here. Just check the path for {{{javaws.exe}}} and add options {{{-J-d64}}} for the 64-bit mode needed to work with large OSM datasets, and {{{-J-Xmx2048m}}} to increase the VM size (to 2GB here).
    176203
    177204=== MacOS Errors ===
     
    181208old section title, keeping as anchor for old links
    182209}}}
    183 [[Image(#8787:damaged_josm_app.png,align=right,margin-top=-35)]]
     210[[Image(#8787:damaged_josm_app.png,align=right,margin-top=-35,margin-left=30)]]
    184211
    185212If 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.
     
    199226* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~macos&order=priority MacOS]
    200227* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~windows&order=priority Windows]
    201 
    202 == See also ==
    203 * [[Source code]]
    204 * [wiki:InstallNotes#Running how to run] - possibly outdated help page