Changes between Version 123 and Version 124 of Download
- Timestamp:
- 2018-02-14T15:28:24+01:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download
v123 v124 145 145 For further information visit the [InstallNotes Installation Notes] and [https://www.java.com/en/download/help/troubleshoot_java.xml Oracles troubleshooting] page. 146 146 147 ==== Java Test ====147 ==== Testing Java ====#Javatest 148 148 [=#Troubleshootingjarfile] Checks to see why JOSM is not starting, examples are for MS Windows. 149 149 1. Download [/josm-tested.jar josm-tested.jar] to your desktop. … … 159 159 [=#Troubleshootingjhlplink] 160 160 Launching 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 JavaTest] above before investigating [#WebStartTest Web Start Test]below orfurther[https://www.java.com/en/download/faq/java_webstart.xml issues].162 163 ==== Web Start Test ====161 So 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 164 164 1. Download [/josm-tested.jar josm.jnlp] to your desktop. 165 165 1. Open a Terminal and move to the Desktop as above … … 171 171 ==== Out of memory ==== 172 172 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 173 Nowadays manually controlling Javas memory is seldom needed because available RAM on computers has grown. 174 Wrongly chosen values can decrease JOSM performance. 175 176 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. 177 If 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`. 178 Formerly older java programs accepted `-Xmx=512m` or even `-Xmx 512m`. Now those malformed arguments throw error messages. 179 177 180 178 181 ==== VM selection ====#VMselectiononWindowsx64 … … 186 189 For 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!) 187 190 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" 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 194 195 }}} 195 196 === MacOS Errors === … … 199 200 old section title, keeping as anchor for old links 200 201 }}} 201 [[Image(#8787:damaged_josm_app.png,align=right,margin-top=-35,margin-left=30)]] 202 202 ==== Downloaded from the internet ==== 203 203 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. 204 204 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)]] 207 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. 208 209 Open System Preferences and the 'Security & Privacy' options. Set 'Allow applications downloaded from:' to 'Anywhere'. 210 211 If 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)]] 207 212 {{{ 208 213 sudo spctl --master-disable 209 214 }}} 215 216 210 217 211 218 === Known issues ===
