Changes between Version 125 and Version 126 of Download
- Timestamp:
- 2018-02-19T12:02:27+01:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download
v125 v126 33 33 || [/download/josm.jnlp josm.jnlp] || \ 34 34 || [/josm-tested.jar] || \ 35 || [/download/windows/josm-setup.exe setup.exe][[br]]''([wiki:USB_Stick portable])'' || \ 36 || [/download/macosx/josm-macosx.zip package.zip][[br]]''([#MacOSerrors see below])'' || \ 35 || [[br]] [/download/windows/josm-setup.exe setup.exe] [[br]]''([wiki:USB_Stick portable])'' || \ 36 || [[br]] [/download/macosx/josm-macosx.zip package.zip] [[br]]''([#MacOSerrors see below])'' || \ 37 37 || ''[#Ubuntu see below]'' || \ 38 38 || ''[#openSUSE see below]'' || … … 41 41 || [/josm-latest.jar] || \ 42 42 || || || ''[#Ubuntu see below]'' || || 43 ||=older =|| || [/download/ download/] || || || || || 43 ||=older =|| || [/download/ download/] || || || [/apt/dists/ dists/] || || 44 44 45 45 When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth. 46 46 47 47 ** Strip translations **[=#Striptranslations] \\ 48 If download size is an issue, smaller files of JOSM tested are available. For downloads containing only one translationappend [/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].48 If 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 [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]. 49 49 50 50 == Repositories == … … 64 64 65 65 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. 66 [[BR]]67 Note: 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].68 66 69 67 The repository contains two packages: 70 ''josm'' :: ''The tested version''[[br]]71 Replaces thepackagefrom the official Ubuntu repository.72 ''josm-latest'':: ''The development version (nightly build)''[[br]] 73 Can be installed parallelto the{{{josm}}} package. The default preference folder is {{{~/.josm-latest}}}.68 * ''josm'' – Provides the tested version (stable). Replaces the package from the official Ubuntu repository. 69 * ''josm-latest'' – The latest version (nightly). Can be installed parallel to the josm package. The default preference folder is {{{~/.josm-latest}}}. 70 71 In addition to the regular procedure described below, older DEBs can be manually downloaded from the [https://josm.openstreetmap.de/apt/pool/universe/j/ archives]. 74 72 75 73 ==== Installation ==== … … 135 133 [=#Doubleclickonafiledoesnothing When you double-click on a jar file and nothing happens] in most cases this means Java isn't installed. 136 134 137 JOSM is developed with Oracle JDK, so we recommend to get Java from their [https://www.java.com/en/download/manual.jsp manual download] page. But first try the Java delivered with the operating system, [https://en.wikipedia.org/wiki/OpenJDK OpenJDK] for example.135 JOSM is tested with Oracles variant, so we recommend to get Java from their [https://www.java.com/en/download/manual.jsp manual download] page. But first give the Java already distributed with the operating system a try, [https://en.wikipedia.org/wiki/OpenJDK for example]. 138 136 139 137 When choosing a download keep in mind: 140 * A Java Plug-in in aweb browser is **not** needed to run JOSM. Therefore results fromonline webpages like www.java.com/en/download/installed8.jsp are not relevantfor running JOSM.141 * A Java variant with 64 bit is recommended for JOSM. The operating systems architecture is important for deciding between 32 bit Java or 64 bit Java. Because the web browsers architecture **not** being relevant therecommendations on this page www.java.com/en/download/faq/java_win64bit.xml are not relevantfor JOSM too.142 * Avoid pages like www.java.com/en/download because their automatic detection isintended to placeaJava Plug-inin theweb browser. And this is, as you know,**not** important for JOSM.138 * A Java Plug-in for web browsers is **not** needed to run JOSM. Therefore results from pages like www.java.com/en/download/installed8.jsp are not relevant. 139 * A Java variant with 64 bit is recommended for JOSM. The operating systems architecture is important for deciding between 32 bit Java or 64 bit Java. Because the web browsers architecture **not** being relevant most recommendations on this page www.java.com/en/download/faq/java_win64bit.xml are not relevant. 140 * Avoid pages like www.java.com/en/download because their goal intended to place Java Plug-ins in web browsers. And this is **not** important for JOSM. 143 141 144 142 For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml troubleshooting] pages. 145 ''Java'' in this section means a JRE (Java Runtime Engine) which provides a JVM (Java Virtual Machine) to run JOSM .143 ''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). 146 144 147 145 ==== Testing Java ====#Javatest … … 189 187 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!) 190 188 191 Example of an edited commandline for a shortcut on the windows desktop: 192 {{{ 193 #!sh 194 <path>javaws.exe -J-d64 -J-Xmx2048m josm.jnlp 195 }}} 196 197 === Wrapper for MS Windows ===#Mswrapper 198 199 The josm-setup.exe installs in C:\Program Files (86)\JOSM\ two files. josm-tested.jar and 200 josm.exe. This wrapper simply calls `javaw -jar josm-tested.jar`. It can be target for *.osm and *.gpx files, too. 201 202 The wrapper can produce a logfile in the directory he is started from. 203 204 {{{ 205 #!sh 206 josm.exe --l4j-debug 207 }}} 208 189 Example of an edited command line for a shortcut on the windows desktop: 190 {{{ 191 #!sh 192 javaws.exe -J-d64 -J-Xmx2048m josm.jnlp 193 }}} 194 195 === Windows josm.exe ===#Mswindowswrapper 196 197 Using josm-setup.exe for installation on Microsoft Windows does the following: 198 * Puts the files `josm-tested.jar` and `josm.exe` in directory chosen by the user, default is `C:\Program Files (86)\JOSM\` 199 * Suggests to register josm.exe as target for the file extensions `*.osm` and `*.gpx`. 200 * Suggests to place JOSM shortcut icons on the Desktop and in the Start Menu of the user. 201 * Asks if the Plug-Ins Imagery offset database and Turn restrictions should be provided. 202 * Adds uninstall data at the appropriate places. 203 204 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`. 205 Josm.exe acts as a ''wrapper'' and is [wiki:/USB_Stick portable]. 206 207 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 [wiki:/Help/CommandLineOptions#Programarguments JOSM Program arguments] too. See example: 208 209 {{{ 210 #!sh 211 # Write a log while starting JOSM and load OSM data 212 josm.exe --l4j-debug http://www.osm.org/way/476702262 213 }}} 209 214 210 215
