Changes between Version 122 and Version 123 of Download
- Timestamp:
- 2018-02-11T22:32:46+01:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download
v122 v123 5 5 This page provides basic JOSM installation steps and troubleshooting information. 6 6 To start working with JOSM please see the [wiki:Introduction] and the [wiki:Help] pages. 7 And for complex installationissues see [wiki:InstallNotes].7 And for very complex issues see [wiki:InstallNotes Installation Notes]. 8 8 9 9 == Recommended options == … … 18 18 == All download options ==#Moredownloadoptions 19 19 20 Every [/roadmap month] the team of JOSM [wiki:Releases releases] a ''tested version''.20 Every [/roadmap month] the team of JOSM [wiki:Releases releases] a **tested version** for download. 21 21 The MS Windows and Apple Mac variants are built on this tested version. 22 22 When 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. 23 23 24 24 [=#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.25 Every [/log/josm/?verbose=on&limit=20 night] the build systems generate a **latest version**. 26 These versions might have severe errors. But mostly they work well, too. 27 27 For the latest version is also a Web Start variant available. 28 28 29 29 ||= 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] || \ 33 33 || [/download/windows/josm-setup.exe setup.exe][[br]]''([wiki:USB_Stick portable])'' || \ 34 34 || [/download/macosx/josm-macosx.zip package.zip][[br]]''([#MacOSerrors see below])'' || \ … … 40 40 ||= older =|| [/download/ download/] || || || || || || 41 41 42 43 42 When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth. 44 43 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] \\ 45 If 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]. 54 46 55 47 == Repositories == … … 57 49 === openSUSE ===#openSUSE 58 50 59 Tested version of JOSM is available in the Application:Geo repository. 51 The tested version of JOSM is available in the Application:Geo repository. 60 52 61 53 First add as root user in yast or with zypper the repository (replace the version in the URL with the one you are using): … … 64 56 }}} 65 57 66 Then simply install **josm** and **josm-fonts**package.58 Then simply install ''josm'' and ''josm-fonts'' package. 67 59 68 60 === Ubuntu ===#Ubuntu … … 91 83 {{{ 92 84 deb https://josm.openstreetmap.de/apt trusty universe 93 deb https://josm.openstreetmap.de/apt utopic universe94 deb https://josm.openstreetmap.de/apt vivid universe95 deb https://josm.openstreetmap.de/apt wily universe96 85 deb https://josm.openstreetmap.de/apt xenial universe 97 deb https://josm.openstreetmap.de/apt yakkety universe98 deb https://josm.openstreetmap.de/apt zesty universe99 86 deb https://josm.openstreetmap.de/apt artful universe 100 87 }}} … … 102 89 Alternatively, this can be done with the following one-liner: 103 90 {{{ 104 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null 91 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | ↩ 92 ↪sudo tee /etc/apt/sources.list.d/josm.list > /dev/null 105 93 }}} 106 94 … … 146 134 147 135 == Troubleshooting == 148 === Java ===# java136 === Java ===#Java 149 137 [=#Doubleclickonafiledoesnothing] 150 138 When you double-click on a jar file and nothing happens in most cases this means Java isn't installed. 151 139 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. 140 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] page. 141 Mind 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. 142 Please avoid the page java.com/en/download because its automatic detection may fool you. 143 You do **not** need a Java-Plugin and you do **not** need to activate Java in your web browser to run JOSM. 144 145 For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshooting] page. 160 146 161 147 ==== Java Test ==== … … 163 149 1. Download [/josm-tested.jar josm-tested.jar] to your desktop. 164 150 1. Open a Command Prompt aka Terminal 165 1. Type `cd %homepath%\ desktop`⏎166 1. Type `java -version `⏎ Three lines with Javasversion 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].151 1. Type `cd %homepath%\Desktop`⏎ 152 1. Type `java -version `⏎ Three lines with the version data should appear. When you see something else then Java is not properly installed. 153 1. Type `java -jar josm-tested.jar`⏎. Now JOSM should run, started from the [wiki:/Help:CommandLineOptions Command Line]. 168 154 1. Quit JOSM. 169 1. Type `josm-tested.jar `⏎. If JOSM starts again, the Windows Explorercan startjar fileswhen you by doubleclick them.170 171 172 === Web Start === #Troubleshootingjhlplink173 [=# 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 startingfurther [https://www.java.com/en/download/faq/java_webstart.xmlWeb Start] tests.155 1. 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] 160 Launching JOSM via Web Start has many more error causes than the traditional way with first downloading a jar file and afterwards starting it. 161 So 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]. 176 162 177 163 ==== Web Start Test ==== … … 185 171 ==== Out of memory ==== 186 172 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. 173 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 machines with few memory resources, can be stabilized by restricting JOSM memory use. for example `-Xmx256m` or `-Xmx1536m`. 174 175 Nowadays 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. 176 https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI 190 177 191 178 ==== VM selection ====#VMselectiononWindowsx64 192 179 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 thetarget for the PATH environment variableandvirtualhome for the threefiles `java.exe`, `javaw.exe` and `javaws.exe`.180 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 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. 194 181 195 182 On 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.
