Changes between Version 122 and Version 123 of Download


Ignore:
Timestamp:
2018-02-11T22:32:46+01:00 (3 months ago)
Author:
Hb---
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v122 v123  
    55This page provides basic JOSM installation steps and troubleshooting information.
    66To start working with JOSM please see the [wiki:Introduction] and the [wiki:Help] pages.
    7 And for complex installation issues see [wiki:InstallNotes].
     7And for very complex issues see [wiki:InstallNotes Installation Notes].
    88
    99== Recommended options ==
     
    1818== All download options ==#Moredownloadoptions
    1919
    20 Every [/roadmap month] the team of JOSM [wiki:Releases releases] a ''tested version''.
     20Every [/roadmap month] the team of JOSM [wiki:Releases releases] a **tested version** for download.
    2121The MS Windows and Apple Mac variants are built on this tested version.
    2222When you click on josm.jnlp to launch JOSM you will always get the newest tested version. Java's [wiki:InstallNotes#Webstart Web Start] is the mechanism behind this.
    2323
    2424[=#DevelopmentVersion]
    25 Every [/log/josm/?verbose=on&limit=20 night] the build systems generate a ''latest version''.
    26 These versions might have severe errors or even crash. But mostly they work well, too.
     25Every [/log/josm/?verbose=on&limit=20 night] the build systems generate a **latest version**.
     26These versions might have severe errors. But mostly they work well, too.
    2727For the latest version is also a Web Start variant available.
    2828
    2929||= Version =||= OS Independent[[br]]Download =||= OS Independent[[br]]Web Start =||= Windows =||= Apple Mac =||= Ubuntu, Debian…  =||= openSUSE =||
    30 || **tested** [[Version(tested)]] ||   \
    31 || **[/josm-tested.jar]** ||           \
    32 || **[/download/josm.jnlp josm.jnlp]** ||  \
     30|| tested [[Version(tested)]] ||   \
     31|| [/josm-tested.jar] ||           \
     32|| [/download/josm.jnlp josm.jnlp] ||  \
    3333|| [/download/windows/josm-setup.exe setup.exe][[br]]''([wiki:USB_Stick portable])'' ||  \
    3434|| [/download/macosx/josm-macosx.zip package.zip][[br]]''([#MacOSerrors see below])'' ||  \
     
    4040||= older =|| [/download/ download/] || || || || || ||
    4141
    42 
    4342When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth.
    4443
    45 ==== Strip translations ====
    46 
    47 If download size is an issue for you:
    48  * 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).
    49  * **Note**: Use underscore to separate [[Translations|language codes]] with country code extensions, e.g. **?lang=en_GB**
    50  * Append **?unsigned=1** to strip the code signing information
    51  * When **lang** and **unsigned** are used the separation is a **&** sign like in **?lang=de&unsigned=1**
    52 
    53 The 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).
     44** Strip translations **[=#Striptranslations]  \\
     45If download size is an issue, smaller files of JOSM tested are available. For downloads containing only one translation append [/josm-tested.jar?lang=en ?lang=en] to the URL. Replace `en` with the [wiki:/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].
    5446
    5547== Repositories ==
     
    5749=== openSUSE  ===#openSUSE
    5850
    59 Tested version of JOSM is available in the Application:Geo repository.
     51The tested version of JOSM is available in the Application:Geo repository.
    6052
    6153First add as root user in yast or with zypper the repository (replace the version in the URL with the one you are using):
     
    6456}}}
    6557
    66 Then simply install **josm** and **josm-fonts** package.
     58Then simply install ''josm'' and ''josm-fonts'' package.
    6759
    6860=== Ubuntu ===#Ubuntu
     
    9183{{{
    9284deb https://josm.openstreetmap.de/apt trusty universe
    93 deb https://josm.openstreetmap.de/apt utopic universe
    94 deb https://josm.openstreetmap.de/apt vivid universe
    95 deb https://josm.openstreetmap.de/apt wily universe
    9685deb https://josm.openstreetmap.de/apt xenial universe
    97 deb https://josm.openstreetmap.de/apt yakkety universe
    98 deb https://josm.openstreetmap.de/apt zesty universe
    9986deb https://josm.openstreetmap.de/apt artful universe
    10087}}}
     
    10289Alternatively, this can  be done with the following one-liner:
    10390{{{
    104 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     91echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | ↩
     92↪sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
    10593}}}
    10694
     
    146134
    147135== Troubleshooting ==
    148 === Java ===#java
     136=== Java ===#Java
    149137[=#Doubleclickonafiledoesnothing]
    150138When you double-click on a jar file and nothing happens in most cases this means Java isn't installed.
    151139
    152 JOSM is tested and developed with Oracle JVM, therefore we recommend to get Java from their [https://www.java.com/en/download/manual.jsp manual download] site.
    153 Mind yoursystems architecture (32 or 64 bit) when [https://www.java.com/en/download/faq/java_win64bit.xml choosing] the installation. Java 64 bit is recommended for JOSM.
    154 ''Java'' is the common name for a product called ''Java Runtime Environment'' now or short ''JRE''.
    155 Formerly other names were used.
    156 Please avoid the page java.com/en/download because it tries to automatically detect your system architecture but fails much to often for being a real help.
    157 You do **not** need a Java-Plugin for your web browser to work with JOSM.
    158 
    159 If you still can't download or install Java, visit [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshooting] pages for more information.
     140JOSM is tested and developed with Oracle JVM, therefore we recommend to get Java from their [https://www.java.com/en/download/manual.jsp manual download] page.
     141Mind your systems architecture (32 or 64 bit) when [https://www.java.com/en/download/faq/java_win64bit.xml choosing] the installation. Java 64 bit is recommended for JOSM.
     142Please avoid the page java.com/en/download because its automatic detection may fool you.
     143You do **not** need a Java-Plugin and you do **not** need to activate Java in your web browser to run JOSM.
     144
     145For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshooting] page.
    160146
    161147==== Java Test ====
     
    1631491. Download [/josm-tested.jar josm-tested.jar] to your desktop.
    1641501. Open a Command Prompt aka Terminal
    165 1. Type `cd %homepath%\desktop `⏎
    166 1. Type `java -version `⏎ Three lines with Javas version data sould appear. When you see something else then Java is not properly installed.
    167 1. Type `java -jar josm-tested.jar `⏎. Now JOSM should run, started from the [wiki:/Help:CommandLineOptions Command Line].
     1511. Type `cd %homepath%\Desktop`⏎
     1521. Type `java -version `⏎ Three lines with the version data should appear. When you see something else then Java is not properly installed.
     1531. Type `java -jar josm-tested.jar`⏎. Now JOSM should run, started from the [wiki:/Help:CommandLineOptions Command Line].
    1681541. Quit JOSM.
    169 1. Type `josm-tested.jar `⏎. If JOSM starts again, the Windows Explorer can start jar files when you by doubleclick them.
    170 
    171 
    172 === Web Start ===#Troubleshootingjhlplink
    173 [=#webstart]
    174 Launching JOSM via Web Start has many more error causes than traditional way with downloading a jar file and then running it.
    175 So please complete the [#JavaTest Java Test] above before starting further [https://www.java.com/en/download/faq/java_webstart.xml Web Start] tests.
     1551. Type `josm-tested.jar`⏎. If JOSM starts again, the Windows Explorer is ready for double clicks on jar files.
     156
     157
     158=== Web Start ===
     159[=#Troubleshootingjhlplink]
     160Launching JOSM via Web Start has many more error causes than the traditional way with first downloading a jar file and afterwards starting it.
     161So please complete the [#JavaTest Java Test] above before investigating [#WebStartTest Web Start Test] below or further [https://www.java.com/en/download/faq/java_webstart.xml issues].
    176162
    177163==== Web Start Test ====
     
    185171==== Out of memory ====
    186172
    187 For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure an [[[Help/CommandLineOptions]] -Xmx memory size] that supports more JOSM plugins and other JOSM editing features. On the other hand, slow with few memory resources, can be stabilized by restricting JOSM memory use.  for example `-Xmx256m` or `-Xmx1536m`.
    188 
    189 To avoid this, the assigned memory can be increased with {{{-Xmx}}} option, see [[Help/CommandLineOptions]] for details.
     173For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure an [[Help/CommandLineOptions]] -Xmx memory size] that supports more JOSM plugins and other JOSM editing features. On the other hand, slow machines with few memory resources, can be stabilized by restricting JOSM memory use.  for example `-Xmx256m` or `-Xmx1536m`.
     174
     175Nowadays it is seldom needed because available RAM on computers has grown. Wrongly chosen values can decrease JOSM performance. See affecthave enough RAMOn current systems part of the download option is optional.
     176https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI
    190177
    191178==== VM selection ====#VMselectiononWindowsx64
    192179
    193 On 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`.
     180On 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.
    194181
    195182On 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.