Changes between Initial Version and Version 1 of Hu:Download


Ignore:
Timestamp:
2018-03-13T23:39:06+01:00 (8 years ago)
Author:
BathoryPeter
Comment:

download & install ready

Legend:

Unmodified
Added
Removed
Modified
  • Hu:Download

    v1 v1  
     1[[TranslatedPages(revision=131,outdated=translation incomplete)]]
     2[[PageOutline(2-3,Tartalomjegyzék)]]
     3= Letöltés =
     4
     5Ezen az oldalon találod a JOSM telepítésének lépéseit és a információt a hibaelhárításhoz.
     6Ha el szeretnél kezdeni dolgozni a JOSM-mel, kérlek olvasd el a [wikitr:/Introduction bevezetőt] és nézz bele a [wikitr:/Help súgóba].
     7Összetettebb esetekben olvasd el a [wikitr:/InstallNotes telepítési megjegyzéseket].
     8
     9== Ajánlott módszer ==
     10
     11[[Image(source:trunk/images/openlocation.png, valign=middle, link=[download/josm.jnlp])]] **Indítsd a [/download/josm.jnlp josm.jnlp]**-t (legfrissebb stabil verzió) [[br]]
     12Ajánlott verzió, minden platformra, havi automatikus frissítéssel a legújabb ''stabil verzióra'' ([#WebStart hogyan indítsam?]). [[br]]
     13[[br]]
     14
     15[[Image(source:trunk/images/download.png, valign=middle, link=[/josm-tested.jar])]] **[/josm-tested.jar josm-tested.jar] letöltése** (stabil verzió [[Version(tested)]]) [[br]]
     16Minden platformra ([#Java hogyan futtassam?]). [[br]]
     17[[br]]
     18
     19== Összes letöltési lehetőség ==#Moredownloadoptions
     20
     21A JOSM csapat minden [/roadmap hónapban] [wikitr:/Releases kiad] egy letölthető **stabil verziót**.
     22A Windows és Apple Mac kiadások erre a stabil verzióra épülnek.
     23Ha a josm.jnlp-re kattintasz, hogy elindítsd a JOSM-et, mindig a legfrissebb kiadást kapod. Emögött a Java [wikitr:/InstallNotes#Webstart Web Start] technológia áll.
     24
     25[=#DevelopmentVersion]
     26Minden [/log/josm/?verbose=on&limit=20 este] a fordító infrastruktúra elkészíti a **legfrissebb verziót**.
     27Ezek a verziók számos hibát tartalmazhatnak. De általában teljesen jól működnek.
     28A legfrissebb verzióból is elérhető Web Startos változat.
     29
     30
     31||= =||||= Minden operációs rendszerre =||||||||||
     32||=Verzió =||=  Web Start  =||= Letöltés =||= Windows =||= Apple Mac =||= Ubuntu, Debian…  =||= openSUSE =||
     33||stabil [[Version(tested)]] ||   \
     34||   [/download/josm.jnlp josm.jnlp] ||  \
     35||   [/josm-tested.jar] ||           \
     36||   [[br]] [/download/windows/josm-setup.exe setup.exe] [[br]]''([#Mswindowswrapper lásd alább])'' ||  \
     37||   [[br]] [/download/macosx/josm-macosx.zip package.zip] [[br]]''([#Macoserrors lásd alább])'' ||  \
     38||   ''[#Ubuntu lásd alább]'' ||          \
     39||   ''[#Opensuse lásd alább]'' ||
     40||legfrissebb [[Version(latest)]] || \
     41||   [/download/josm-latest.jnlp latest.jnlp] ||  \
     42||   [/josm-latest.jar] || \
     43||   || || ''[#Ubuntu lásd alább]'' || ||
     44||=régebbi =|| || [/download/ download/] || || || [/apt/dists/ dists/] || ||
     45
     46Scriptek futtatásakor a sávszélesség csökkentése érdekében kérlek ellenőrizd előbb a [/latest legfrissebb], [/tested stabil] vagy [/version mindkét] verziót.
     47
     48** Fordítások nélkül **[=#Striptranslations]  \\
     49Ha fontos neked a letöltési méret, kisebb telepítőfájlok is elérhetőek. A csak angol verziót tartalmazó letöltéshez kapcsold az URL-hez a [/josm-tested.jar?lang=en ?lang=en] paramétert. Ha más fordítást szeretnél belevenni, cseréld az `en`-t egy másik [wikitr:/TracLanguages nyelvkódra] (kis kezdőbetű, csak támogatott nyelvek). Tovább csökkentheted a fájlméretet az aláírás elhagyásával, amihez a [/josm-tested.jar?lang=en&unsigned=1 ?unsigned=1] paramétert kell hozzáadnod.
     50
     51== Tárolók ==
     52
     53=== openSUSE  ===#Opensuse
     54[=#openSUSE]
     55Az összes stabil JOSM verzió elérhető az Application:Geo tárolóban.
     56
     57Először root felhasználóként yast vagy zypper segítségével add hozzá a tárolót (cseréld ki az URL-ben a verziót arra, amit használsz):
     58{{{
     59zypper ar -f https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.0 Application:Geo
     60}}}
     61
     62Ezután egyszerűen telepítsd a ''josm'' és ''josm-fonts'' csomagokat.
     63
     64=== Ubuntu ===#Ubuntu
     65
     66Ez a csomagtároló elsősorban az Ubuntuhoz készült. Működnie kell más Debian alapú (főleg Ubuntu alapú) disztribúciókkal is, de Ubuntun kívül nem tesztelünk és nem tartunk karban más disztribúciót.
     67
     68A tároló két csomagot tartalmaz:
     69* ''josm''  – a stabil (tesztelt) verzió. Lecseréli a hivatalos Ubuntu tárolóból származó csomagot.
     70* ''josm-latest'' – a legfrissebb verzió (nightly). Feltelepíthető a josm csomag mellé. Az alapértelmezett beállítások könyvtára a {{{~/.josm-latest}}}.
     71
     72Az alább leírt szokásos menet mellett a régebbi DEB fájlok letölthetőek az [https://josm.openstreetmap.de/apt/pool/universe/j/ archívumból].
     73
     74==== Telepítés ====
     75
     76Szerkeszd a csomagforrás {{{/etc/apt/sources.list}}} listát:
     77
     78{{{
     79#!sh
     80sudo editor /etc/apt/sources.list
     81}}}
     82
     83add hozzá az egyik alábbi sort, ami megfelel az Ubuntu verziódnak:
     84
     85{{{
     86#!sh
     87deb https://josm.openstreetmap.de/apt trusty universe
     88deb https://josm.openstreetmap.de/apt xenial universe
     89deb https://josm.openstreetmap.de/apt artful universe
     90# Más Debian alapú disztribúciók esetében add hozzá ezt:
     91deb https://josm.openstreetmap.de/apt alldist universe
     92}}}
     93
     94Másféleképpen az alábbi egysoros paranccsal tudod ezt megtenni:
     95{{{
     96echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | ↩
     97↪sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     98}}}
     99
     100{{{#!comment
     101### alább nem minden rendszeren működik
     102és add hozzá az alábbi sort:
     103`
     104deb https://josm.openstreetmap.de/apt VERSION universe
     105`
     106}}}
     107
     108Töltsd le és regisztráld a [[/josm-apt.key|publikus kulcsot]]:
     109{{{
     110#!sh
     111wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
     112}}}
     113
     114Most frissítsd a forrásokat (lehet hogy telepítened kell a `sudo apt-get install apt-transport-https` csomagot)
     115{{{
     116#!sh
     117sudo apt-get update
     118}}}
     119és telepítsd:
     120
     121{{{
     122#!sh
     123# Átugorhatod az első sort, ha ezek a csomagok nem voltak korábban telepítve.
     124sudo apt-get remove josm josm-plugins
     125
     126# Stabil verzió
     127sudo apt-get install josm
     128# legfrissebb fejlesztői verzió
     129sudo apt-get install josm-latest
     130}}}
     131
     132== Hibaelhárítás ==
     133=== Java ===#Java
     134[=#Doubleclickonafiledoesnothing Ha duplán kattintasz egy jar fájlra és nem történik semmi] az általában azt jelenti hogy a Java nincs telepítve.
     135
     136JOSM is tested with Oracles variant, so we recommend to get Java from their pages for [https://www.java.com/download/manual.jsp manual] downloads or [http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html intermediate] versions. But first give the Java already distributed with the operating system a try, [https://en.wikipedia.org/wiki/OpenJDK for example].
     137
     138When choosing a download keep in mind:
     139 * 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.
     140 * 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 JOSM is **not** affected by the web browsers architecture most recommendations on this page www.java.com/en/download/faq/java_win64bit.xml are not relevant.
     141 * Avoid pages like www.java.com/en/download which intent to place Java Plug-ins in web browsers. And this is **not** important for JOSM.
     142
     143For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml troubleshooting] pages.
     144''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).
     145
     146==== Testing Java ====#Javatest
     147[=#Troubleshootingjarfile] Checks if Java is installed and why JOSM does not start (example mainly for MS Windows).
     1481. Download [/josm-tested.jar josm-tested.jar] to your desktop.
     1491. Open a Command Prompt aka Terminal
     1501. Type `cd %homepath%`⏎ and type `cd Desktop`⏎
     1511. Type `java -version `⏎ Three lines with the version data should appear. If you see something else then Java is not properly installed.
     1521. Type `java -jar josm-tested.jar`⏎. Now JOSM should run, started from the [wikitr:/Help/CommandLineOptions Command Line].
     1531. Quit JOSM.
     1541. Type `josm-tested.jar`⏎. If JOSM starts again, the Windows Explorer is ready for double clicks on jar files.
     155
     156
     157=== Web Start ===#Webstart
     158[=#Troubleshootingjhlplink]
     159Launching JOSM via Web Start has many more error causes than the traditional way with first downloading a jar file and afterwards starting it.
     160So please test [#JavaTest Java] first and then run the tests described below or elsewhere [https://www.java.com/en/download/faq/java_webstart.xml Web Start issues].
     161
     162==== Testing Web Start ====#Webstarttest
     1631. Download [/josm-tested.jar josm.jnlp] to your desktop.
     1641. Open a Terminal and move to the Desktop as above
     1651. Type `javaws josm.jnlp`⏎. This should initially download JOSM, serve a security dialog and then launch JOSM.
     166
     167
     168=== Virtual Machine ===#Troubleshootingjvm
     169
     170==== Out of memory ====
     171
     172Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown.
     173Wrongly chosen values can decrease JOSM performance.
     174
     175For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure a memory size that supports more plugins and features. On the other hand can slow machines be stabilized by restricting Javas memory use.
     176If needed, use the [wikitr:Help/CommandLineOptions command line] to set the [https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI Java Option] -Xmx…m, for example `-Xmx512m` or `-Xmx1536m`.
     177Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages.
     178
     179
     180==== VM selection ====#VMselectiononWindowsx64
     181
     182On 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.
     183
     184On 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.
     185
     186Check that there's no other javawebstart in {{{\Windows\SysWow64}}}. The Java control panel will not detect it and you can safely delete it. Perfom cleanup and only keep the latest versions of each JRE (One or the 32-bit mode, another one for the 64-bit mode).
     187
     188For 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!)
     189
     190Example of an edited command line for a shortcut on the windows desktop:
     191{{{
     192#!sh
     193javaws.exe -J-d64 -J-Xmx2048m  josm.jnlp
     194}}}
     195
     196=== Windows josm.exe ===#Mswindowswrapper
     197
     198Using josm-setup.exe for installation on Microsoft Windows does the following:
     199 * Puts the files `josm-tested.jar` and `josm.exe` in directory chosen by the user, default is `C:\Program Files (86)\JOSM\`
     200 * Suggests to register josm.exe as target for the file extensions `*.osm` and `*.gpx`.
     201 * Suggests to place JOSM shortcut icons on the Desktop and in the Start Menu (Currently they are placed for an admin [ticket:11398 only] and can be copied from there).
     202 * Asks if the Plug-Ins Imagery offset database and Turn restrictions should be provided.
     203 * Adds uninstall data at the appropriate places.
     204
     205When 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`.
     206Josm.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
     207
     208When 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 [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments] too. See example:
     209
     210{{{
     211#!sh
     212# Write a log while starting JOSM and load OSM data
     213josm.exe --l4j-debug https://www.osm.org/way/476702262
     214}}}
     215
     216
     217=== MacOS Errors ===#Macoserrors
     218[=#MacOSErrors][=#MacOSXMountainLionErrors]
     219{{{
     220#!comment
     221old section title, keeping as anchor for old links
     222}}}
     223
     224Apple has two mechanisms to ''protect'' you from using JOSM: [https://support.apple.com//HT201940 File Quarantine] and [https://support.apple.com//HT202491 Gatekeeper].
     225
     226==== Downloaded from the internet ====
     227If 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.
     228
     229==== Damaged ====
     230[[Image(#8787:damaged_josm_app.png,width=300,align=right,margin-top=-50,margin-left=30)]]
     231If you get an error saying "'JOSM.app' is damaged and can't be opened. You should move it to the Trash", then you need to temporarily disable Gatekeeper.
     232
     233Open System Preferences and the 'Security & Privacy' options. Set 'Allow applications downloaded from:' to 'Anywhere'.
     234
     235If that radio button is missing from the Security & Privacy preferences panel, open the Terminal window. The following command may become the radio button to appear. [[Image(SecurityPrivacy.png,align=right,float=left,width=300)]]
     236{{{
     237sudo spctl --master-disable
     238}}}
     239
     240
     241
     242=== Ismert hibák ===
     243
     244Lezáratlan hibák ezzel kapcsolatban ...:
     245* [https://josm.openstreetmap.de/query?status=!closed&type=defect&keywords=~java Java issues] - some of the bugs lead to blockers in Oracle JVM (covered at [[JavaBugs]]).
     246* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~linux&order=priority Linux]
     247* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~ubuntu&order=priority Ubuntu]
     248* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~macos&order=priority MacOS]
     249* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~windows&order=priority Windows]