Changes between Version 10 and Version 11 of Ru:Download


Ignore:
Timestamp:
2017-12-21T07:30:26+01:00 (8 years ago)
Author:
ak099
Comment:

Обновил до ревизии 118.

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Download

    v10 v11  
    1 [[TranslatedPages(revision=117,outdated=Неполный перевод\, требуется доперевести раздел "Решение проблем")]]
     1[[TranslatedPages(revision=118)]]
    22[[PageOutline(2-5,Оглавление)]]
    33= Загрузка =
     
    162162==== Выбор виртуальной машины в Windows x64 ====
    163163
    164 For Windows, beware that some browsers may install their own JRE only in 32 bit mode, but may also install their version of the Javawebstart tool somewhere else with different file associations. This may cause your JNLP to start with this alternate JRE because it runs the wrong version of Javawebstart which only supports the 32 bit VM, and sometimes is built with a restricted support for VM options and a max VM size not exceeding 256MB.
    165 
    166 Check, for example, if there's no other javawebstart in {{{\Windows\SysWow64}}}. You should not need it (the Java control panel will not detect it) and can safely delete it. Perfom cleanup and only keep the latest version of the JRE (1 for the 32-bit mode, another one for the 64-bit mode).
    167 
    168 For shortcuts created on the desktop for JNLP and running the Javawebstart launcher (from {{{\windows\system32}}}), 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!)
    169 
    170 Example of an edited commandline for the shortcut created on the windows desktop after running JOSM just once from the JNMP and exiting:
     164Учтите, что в Windows некоторые браузеры могут устанавливать свои собственные JRE только в 32-битном режиме, а также собственные версии инструмента Javawebstart куда-то ещё с другими файловыми ассоциациями. Это может привести к тому, что ваш JNLP запустится в этом альтернативном JRE, так как он запустит неправильную версию Javawebstart, поддерживающую только 32-битные виртуальные машины, а иногда и собранную с ограниченной поддержкой параметров виртуальной машины и максимальным размером VM, не превышающим 256 МБ.
     165
     166Проверьте, например, нет ли другого javawebstart в {{{\Windows\SysWow64}}}. Вам он не понадобится (панель управления Java не обнаружит его), и его можно без вреда удалить. Выполните очистку и оставьте только последнюю версию JRE (одну для 32-битного режима, другую для 64-битного).
     167
     168Для ярлыков, созданных на рабочем столе для JNLP и запуска Javawebstart (из {{{\windows\system32}}}), убедитесь, они передают виртуальной машине параметры, перед которыми стоит ключ -J и между ключом и параметром VM нет пробела. Если у вас установлены и 32-битная, и 64-битная версии, вы должны указать опцию "{{{-d64}}}", если хотите выбрать в качестве предпочтительной 64-битную машину. Заметьте, что в некоторых страницах документации Oracle опция указана с неправильной заглавной буквой "-D64"!)
     169
     170Пример отредактированной командной строки для ярлыка, созданного на рабочем столе после первого запуска JOSM из JNMP и выхода из программы:
    171171{{{
    172172#!sh
    173173C:\Windows\System32\javaws.exe -J-d64 -Xmx=2048m -localfile -J-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp "C:\Users\<snipped user name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
    174174}}}
    175 You don't need to change the end of the command line with the snipped parts here. Just check the path for {{{javaws.exe}}} and add options {{{-J-d64}}} for the 64-bit mode needed to work with large OSM datasets, and {{{-Xmx=2048m}}} to increase the VM size (to 2GB here).
    176 
    177 === Ошибки в Mac OS X === #MacOSXerrors
     175Вам не нужно менять конец командной строки на часть, приведённую здесь. Просто проверьте путь для {{{javaws.exe}}} и добавьте опции {{{-J-d64}}} для 64-битного режима, необходимого для работы с большими наборами данных OSM, и {{{-Xmx=2048m}}} для увеличения размера виртуальной машины (в данном примере до 2 ГБ).
     176
     177=== Ошибки в MacOS === #MacOSXerrors
    178178[=#MacOSXMountainLionErrors]
    179179{{{
    180180#!comment
    181 old section title, keeping as anchor for old links
     181старый заголовок секции, оставлен в качестве якоря для старых ссылок
    182182}}}
    183183[[Image(#8787:damaged_josm_app.png,align=right,margin-top=-35)]]
    184184
    185 If 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.
    186 
    187 If 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. Open System Preferences and the 'Security & Privacy' options. Set 'Allow applications downloaded from:' to 'Anywhere'. If the that radio button is missing from the Security & Privacy preferences panel, the following may be entered using a terminal window to make it appear:
    188 
     185Если вы получаете ошибку "'JOSM.app' is an application downloaded from the internet.",  то её можно обойти **щелчком правой кнопкой на JOSM.app** или josm.jnlp и выбором 'open'. Вы увидите то же самое сообщение, но на этот раз с возможностью "Открыть". Это необходимо только при первом запуске JOSM.
     186
     187Если вы видите сообщение об ошибке "'JOSM.app' is damaged and can't be opened. You should move it to the Trash", то нужно временно отключить Gatekeeper. Откройте в настройках системы параметры 'Security & Privacy'. Задайте для 'Allow applications downloaded from:' значение 'Anywhere'.
     188[[Image(wiki:Download:SecurityPrivacy.png)]]
     189
     190Если эта радиокнопка отсутствует в панели 'Security & Privacy', то для её появления можно ввести в окне терминала:
    189191{{{
    190192sudo spctl --master-disable
     
    193195=== Известные и ещё не устранённые проблемы с JOSM ===
    194196
    195 Not closed issues about ...:
    196 * [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]]).
     197Незакрытые ошибки, касающиеся ...:
     198* [https://josm.openstreetmap.de/query?status=!closed&type=defect&keywords=~java Java] - некоторые ошибки, ведущие к блокированию в Oracle JVM (описаны в [[JavaBugs]]).
    197199* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~linux&order=priority Linux]
    198200* [https://josm.openstreetmap.de/query?status=assigned&type=defect&status=needinfo&status=new&status=reopened&keywords=~ubuntu&order=priority Ubuntu]
     
    202204== Смотрите также ==
    203205* [[Source code|Исходный код]]
    204 * [wiki:InstallNotes#Running how to run] - возможно, устаревшая страница справки
     206* [wiki:Ru:InstallNotes#Running Как запустить] - возможно, устаревшая страница справки