Changes between Version 123 and Version 124 of Download


Ignore:
Timestamp:
2018-02-14T15:28:24+01:00 (8 years ago)
Author:
Hb---
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v123 v124  
    145145For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshooting] page.
    146146
    147 ==== Java Test ====
     147==== Testing Java ====#Javatest
    148148[=#Troubleshootingjarfile] Checks to see why JOSM is not starting, examples are for MS Windows.
    1491491. Download [/josm-tested.jar josm-tested.jar] to your desktop.
     
    159159[=#Troubleshootingjhlplink]
    160160Launching JOSM via Web Start has many more error causes than the traditional way with first downloading a jar file and afterwards starting it.
    161 So please complete the [#JavaTest Java Test] above before investigating [#WebStartTest Web Start Test] below or further [https://www.java.com/en/download/faq/java_webstart.xml issues].
    162 
    163 ==== Web Start Test ====
     161So please test [#JavaTest Java] first and then test like described below or elsewhere [https://www.java.com/en/download/faq/java_webstart.xml Web Start issues].
     162
     163==== Testing Web Start ====#Webstarttest
    1641641. Download [/josm-tested.jar josm.jnlp] to your desktop.
    1651651. Open a Terminal and move to the Desktop as above
     
    171171==== Out of memory ====
    172172
    173 For some tasks, JOSM has a large appetite for memory. On the one hand, it may be necessary to configure an [[Help/CommandLineOptions]] -Xmx memory size] that supports more JOSM plugins and other JOSM editing features. On the other hand, slow machines with few memory resources, can be stabilized by restricting JOSM memory use.  for example `-Xmx256m` or `-Xmx1536m`.
    174 
    175 Nowadays it is seldom needed because available RAM on computers has grown. Wrongly chosen values can decrease JOSM performance. See affecthave enough RAMOn current systems part of the download option is optional.
    176 https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI
     173Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown.
     174Wrongly chosen values can decrease JOSM performance.
     175
     176For 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.
     177If needed, use the [wiki: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`.
     178Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages.
     179
    177180
    178181==== VM selection ====#VMselectiononWindowsx64
     
    186189For 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!)
    187190
    188 Example of an edited commandline for the shortcut created on the windows desktop after running JOSM just once from the JNMP and exiting:
    189 {{{
    190 #!sh
    191 <path>javaws.exe -J-d64 -J-Xmx2048m  localfile
    192   -J-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp
    193   "C:\Users\<name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
     191Example of an edited commandline for a shortcut on the windows desktop:
     192{{{
     193#!sh
     194<path>javaws.exe -J-d64 -J-Xmx2048m  josm.jnlp
    194195}}}
    195196=== MacOS Errors ===
     
    199200old section title, keeping as anchor for old links
    200201}}}
    201 [[Image(#8787:damaged_josm_app.png,align=right,margin-top=-35,margin-left=30)]]
    202 
     202==== Downloaded from the internet ====
    203203If 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.
    204204
    205 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 that radio button is missing from the Security & Privacy preferences panel, the following may be entered using the Terminal window to make it appear:
    206 [[Image(SecurityPrivacy.png)]]
     205==== Damaged ====
     206[[Image(#8787:damaged_josm_app.png,width=300,align=right,margin-top=-50,margin-left=30)]]
     207If 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.
     208
     209Open System Preferences and the 'Security & Privacy' options. Set 'Allow applications downloaded from:' to 'Anywhere'.
     210
     211If 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)]]
    207212{{{
    208213sudo spctl --master-disable
    209214}}}
     215
     216
    210217
    211218=== Known issues ===