Changes between Version 8 and Version 9 of Hu:Download


Ignore:
Timestamp:
2024-12-06T13:54:29+01:00 (3 weeks ago)
Author:
BathoryPeter
Comment:

fix formatting; copy missing parts from english

Legend:

Unmodified
Added
Removed
Modified
  • Hu:Download

    v8 v9  
    6767
    6868
    69 Az alább leírt szokásos menet mellett a régebbi DEB fájlok letölthetőek az [/apt/pool/universe/j/ archívumból].
     69Az alább leírt szokásos mellett a régebbi DEB fájlok letölthetőek az [/apt/pool/universe/j/ archívumból].
    7070
    7171==== Telepítés ====
    72 
    7372Szerkeszd a `/etc/apt/sources.list.d/josm.list` csomagforrás-listát:
    7473
     
    9089deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt focal universe
    9190deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt bionic universe
     91
    9292# Más Debian alapú disztribúciók esetében add hozzá ezt:
    9393deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt alldist universe
    9494}}}
    9595
    96 Másféleképpen az alábbi egysoros paranccsal tudod ugyanezt megtenni Ubuntun (nem működik Ubuntu-alapú rendszereken, pl. Linux Minten):
     96Egyszerűbben az alábbi egy soros paranccsal tudod ugyanezt megtenni Ubuntun (nem működik Ubuntu-alapú rendszereken, pl. Linux Minten):
    9797{{{#!sh
    9898echo "deb [signed-by=/usr/local/share/keyrings/josm-apt.gpg] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     
    103103}}}
    104104 
     105{{{#!comment
    105106### az alábbi nem minden rendszeren működik
    106107és add hozzá a következő sort:
     
    109110}}}
    110111}}}
     112
    111113Töltsd le a [/josm-apt.key publikus kulcsot]:
    112114{{{#!sh
    113 # Hod létre kézzel a letöltött kulcsok könyvtárát, ha még nem volt létrehozva
     115# Hozd létre kézzel a letöltött kulcsok könyvtárát, ha még nem volt létrehozva
    114116sudo mkdir -p /usr/local/share/keyrings
    115117# Download the key
    116118wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor -o /usr/local/share/keyrings/josm-apt.gpg
    117119}}}
    118 A korábbi utasítások `apt-key`-t használtak. Ha a kulcs hozzá lett adva a rendszer kulcstartójához, a következő sor eltávolítja azt:
     120A korábbi útmutató `apt-key`-t használt. Ha a kulcs hozzá lett adva a rendszer kulcstartójához, a következő sor eltávolítja azt:
    119121{{{#!sh
    120122sudo apt-key del $(apt-key list | grep -B1  "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57)
    121123}}}
     124
    122125Most frissítsd a forrásokat:
    123126{{{#!sh
     
    127130sudo apt-get update
    128131}}}
     132
    129133és telepítsd:
    130134{{{#!sh
     
    140144=== GNU Debian ===#GNUDebian
    141145A saját [#Ubuntu fent látható] Ubuntu csomagjaink Debian-on is működnek, ezek használatát javasoljuk. A `sudo` telepítésétől függően néhány utasítás nem fog működni „normál” felhasználóként, csak `root`-ként.
     146
    142147A [https://packages.debian.org/stable/josm JOSM stabil verziója] elérhető **''main''** **''utils''** szakaszában, de ez a verzió általában elég régi. \\
    143148A sokkal naprakészebb verziókat a [https://backports.debian.org backports tárolóban] találod, lásd [https://backports.debian.org/Instructions Utasítások]. Még ez a verzió is régebbi lehet a mi saját csomagjainkánl.
     149
    144150Debian 11 (bullseye) óta a [https://packages.debian.org/stable/josm-installer josm-installer] elérhető a **''main''** **''utils''** szakaszában. Ez letölti az aktuális .jar fájlt erről az oldalról, és szükség esetén frissít.
    145151
     
    159165=== Java ===#Java
    160166Ha duplán kattintasz egy jar fájlra és nem történik semmi, az általában azt jelenti hogy a Java nincs telepítve.
     167
    161168A JOSM jelenleg az [https://www.azul.com/downloads/?version=java-21-lts&package=jdk-fx#zulu Azul] vagy [https://bell-sw.com/pages/downloads/?package=jre-full#mn Bellsoft Liberica] JDK-at javasolja. Általánosságban az aktuális Java LTS a javasolt (a cikk írásakor ez a Java 17), de a Java 11-nek is működnie kell. Az aktuális ajánlásokat lásd a [source:/trunk/README README]-ben. De először tegyél egy próbát az operációs rendszereddel érkező Javával, például az [https://en.wikipedia.org/wiki/OpenJDK OpenJDK-val].
    162169
    163170When choosing a download keep in mind:
    164          
     171 * 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.
     172 * 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.
     173 * 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.
     174
     175For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml troubleshooting] pages.
    165176''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).
    166 ==== Testing Java ====#JavaTest
     177
     178==== Testing Java ====#JavaTest
    167179[=#Troubleshootingjarfile] Checks if Java is installed and why JOSM does not start (example mainly for MS Windows).
    1681801. Download [/josm-tested.jar josm-tested.jar] to your desktop.
    169          
     1811. Open a Command Prompt aka Terminal
     1821. Type `cd %homepath%`⏎ and type `cd Desktop`⏎
     1831. Type `java -version `⏎ Three lines with the version data should appear. If you see something else then Java is not properly installed.
     1841. Type `java -jar josm-tested.jar`⏎. Now JOSM should run, started from the [wikitr:/Help/CommandLineOptions Command Line].
     1851. Quit JOSM.
     1861. Type `josm-tested.jar`⏎. If JOSM starts again, the Windows Explorer is ready for double clicks on jar files.
     187
     188
    170189=== Web Start ===#Webstart
    171190[=#Troubleshootingjhlplink]
    172191You need to install [https://openwebstart.com/ OpenWebStart] first. It will download and run Java by itself. Please use the 64 bit (`x64`) version of OpenWebStart if you are on Microsoft Windows. The transition from Oracle WebStart to OpenWebStart is still in progress, so in case of issue please create a [/newticket new ticket] or post a comment to #17858.
     192
    173193You may need to update the default application for opening JNLP files if you previously used Oracle WebStart. See [https://openwebstart.com/docs/OWSGuide.html#_jnlp_file_association jnlp file association] for instructions on setting OpenWebStart as the default program for jnlp files.
     194
    174195==== Testing Web Start ====#Webstarttest
    175          
     1961. Download [/download/josm.jnlp josm.jnlp] to your desktop.
     1971. Open a Terminal and move to the Desktop as above
     1981. Type `javaws josm.jnlp`⏎. This should initially download JOSM, show a security dialog and then launch JOSM.
     1991. If that fails, then type `javaws -verbose josm.jnlp`⏎. This should first show a dialog with information about the JVM and then launch JOSM.
     200
     201
    176202=== Virtual Machine ===#Troubleshootingjvm
    177203==== Out of memory ====
    178 Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown.
    179 Wrongly chosen values can decrease JOSM performance.
    180 For 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.
     204Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown.
     205Wrongly chosen values can decrease JOSM performance.
     206
     207For 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.
    181208If needed, use the [wikitr:/Help/CommandLineOptions command line] to set the [https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE__BABHDABI Java Option] -Xmx…m, for example `-Xmx512m` or `-Xmx1536m`. In Debian/Ubuntu you can edit the file `/etc/default/josm` respectively `/etc/default/josm-latest`. \\
    182209Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages.
     210
    183211==== VM selection ====#VMselectiononWindowsx64
    184212On 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.
     213
    185214On 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.
     215
    186216Check that there's no other javawebstart in `\Windows\SysWow64`. The Java control panel will not detect it and you can safely delete it. Perform cleanup and only keep the latest versions of each JRE (One or the 32-bit mode, another one for the 64-bit mode).
     217
    187218For 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!)
    188 Example of an edited command line for a shortcut on the windows desktop:
    189          
    190 }}}
     219
     220Example of an edited command line for a shortcut on the windows desktop:
     221{{{
     222#!sh
     223javaws.exe -J-d64 -J-Xmx2048m  josm.jnlp
     224}}}
     225
    191226=== Microsoft Windows ===#MSWindows
    192227==== josm.exe ====#Mswindowswrapper
    193 Using josm-setup.exe for installation on Microsoft Windows does the following:
     228Using josm-setup.exe for installation on Microsoft Windows does the following: 
    194229 * Puts two executable files `JOSM.exe` and `HWConsole.exe` in directory `%LOCALAPPDATA%\JOSM`
    195230 * Registers JOSM.exe as target for the file extensions `*.osm`, `*.geojson`, `*.gpx`, `*.jos` and `*.joz`.
    196231 * Places JOSM shortcut icons on the Desktop and in the Start Menu.
    197232 * Adds uninstall data at the appropriate places.
    198 When starting, JOSM.exe starts JOSM with an embedded version of Java maintained by JOSM developers, based on Azul Zulu.
     233
     234When starting, JOSM.exe starts JOSM with an embedded version of Java maintained by JOSM developers, based on Azul Zulu.
    199235JOSM.exe acts as a ''wrapper'' and is [wikitr:/USB_Stick portable].
     236
    200237HWConsole.exe is similar to JOSM.exe but start JOSM while keeping open a Windows console displaying JOSM standard output (logs).
     238
    201239JOSM.exe accepts all usual [wikitr:/Help/CommandLineOptions#Programarguments JOSM Program arguments]. See example:
     240
    202241{{{
    203242#!sh
     
    205244josm.exe https://www.osm.org/way/476702262
    206245}}}
     246
    207247For giving [wikitr:/Help/CommandLineOptions#Javaoptions Java options] to the Java VM, JOSM.exe uses the configuration file `JOSM.cfg` in its app sub-directory. In this file, each option must be on a separate line.
     248
    208249For example, to change memory allocation, open `%LOCALAPPDATA%\JOSM\app\JOSM.cfg` and add `java-options=-Xmx8192m` (for 8 GB) to a new line under the `[JavaOptions]` header.
     250
    209251==== Graphics ====#MicrosoftWindowsGraphics
    210252Some Windows installations have graphics driver issues (see #23784 for an example). This may exhibit symptoms such as:
     
    212254* Flickering
    213255* Other unexpected user interface issues
     256
    2142571. Download and install Display Driver Uninstaller (DDU, [https://github.com/Wagnard/display-drivers-uninstaller source]) from the official mirror => https://www.wagnardsoft.com/display-driver-uninstaller-DDU-
    2152582. From the "Device Type" drop-down on the right, select "GPU". DDU will automatically detect the GPU you're using.
    2162593. Click on "Clean and Restart" at the top. This will uninstall the graphics drivers and restart your PC.
    2172604. Reinstall the drivers.
    218 //**WARNING: Create a backup of your PC before using DDU. Although it creates a recovery point by itself, it's ideal to make one yourself just in case.**//
     261
     262//**WARNING: Create a backup of your PC before using DDU. Although it creates a recovery point by itself, it's ideal to make one yourself just in case.**//
     263
    219264=== macOS ===#macOS
    220265[=#MacOSErrors][=#MacOSXMountainLionErrors][=#Macoserrors]
    221266{{{
    222267#!comment
    223          
    224 }}}
     268old section title, keeping as anchor for old links
     269}}}
     270
    225271==== Using brew ====#brew
    226272macOS users may use the [https://brew.sh/ homebrew] package manager to install and update their JOSM instance.
     273
    227274In Terminal, run the `brew install --cask josm` to install or `brew upgrade --cask josm` to upgrade to the current tested version of JOSM.
     275
    228276=== Linux ===#linux
    229277==== Arch Linux ====
    230278Using AUR you can install [https://aur.archlinux.org/packages/openwebstart-bin openwebstart-bin].
    231 If you use [https://archlinux.org/packages/extra/x86_64/icedtea-web/ icedtea-web] instead of the recommended openwebstart you will get an error with the newest java. java-17-openjdk is known to work, but java-22-openjdk do not.
     279
     280If you use [https://archlinux.org/packages/extra/x86_64/icedtea-web/ icedtea-web] instead of the recommended openwebstart you will get an error with the newest java. java-17-openjdk is known to work, but java-22-openjdk do not.
     281
     282
    232283=== Known issues ===
    233284Not closed issues about …: