Changes between Version 125 and Version 126 of Download


Ignore:
Timestamp:
2018-02-19T12:02:27+01:00 (8 years ago)
Author:
Hb---
Comment:

Finishing josm.exe, distros shorter, three no go areas when searching for a Java download.

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v125 v126  
    3333||   [/download/josm.jnlp josm.jnlp] ||  \
    3434||   [/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])'' ||  \
    3737||   ''[#Ubuntu see below]'' ||          \
    3838||   ''[#openSUSE see below]'' ||
     
    4141||   [/josm-latest.jar] || \
    4242||   || || ''[#Ubuntu see below]'' || ||
    43 ||=older =|| || [/download/ download/] || || || || ||
     43||=older =|| || [/download/ download/] || || || [/apt/dists/ dists/] || ||
    4444
    4545When running scripts please first check on [/latest latest], [/tested tested] or [/version both] to reduce download bandwidth.
    4646
    4747** Strip translations **[=#Striptranslations]  \\
    48 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].
     48If 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].
    4949
    5050== Repositories ==
     
    6464
    6565This 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].
    6866
    6967The repository contains two packages:
    70  ''josm'':: ''The tested version''[[br]]
    71   Replaces the package from the official Ubuntu repository.
    72  ''josm-latest'':: ''The development version (nightly build)''[[br]]
    73  Can be installed parallel to 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
     71In addition to the regular procedure described below, older DEBs can be manually downloaded from the [https://josm.openstreetmap.de/apt/pool/universe/j/ archives].
    7472
    7573==== Installation ====
     
    135133[=#Doubleclickonafiledoesnothing When you double-click on a jar file and nothing happens] in most cases this means Java isn't installed.
    136134
    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.
     135JOSM 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].
    138136
    139137When choosing a download keep in mind:
    140  * A Java Plug-in in a web browser is **not** needed to run JOSM. Therefore results from online web pages like www.java.com/en/download/installed8.jsp are not relevant for 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 the recommendations on this page www.java.com/en/download/faq/java_win64bit.xml are not relevant for JOSM too.
    142  * Avoid pages like www.java.com/en/download because their automatic detection is intended to place a Java Plug-in in the web 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.
    143141
    144142For 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).
    146144
    147145==== Testing Java ====#Javatest
     
    189187For 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!)
    190188
    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 
     189Example of an edited command line for a shortcut on the windows desktop:
     190{{{
     191#!sh
     192javaws.exe -J-d64 -J-Xmx2048m  josm.jnlp
     193}}}
     194
     195=== Windows josm.exe ===#Mswindowswrapper
     196
     197Using 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
     204When 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`.
     205Josm.exe acts as a ''wrapper'' and is [wiki:/USB_Stick portable].
     206
     207When 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
     212josm.exe --l4j-debug http://www.osm.org/way/476702262
     213}}}
    209214
    210215