Talk:JOSM/Mac

From OpenStreetMap Wiki
Jump to navigation Jump to search

path to .jar

Since the download now includes a packaged (bundled) app the correct path could be something like /Applications/josm-macosx/JOSM.app/Contents/Resources/Java/josm-snapshot-3376.jar (if the unzipped folder is in the user's application folder).

I don't know if there's a way to automagically look for the "latest" .jar so I copied the path to the one I have. The easiest way to specify the location of the .jar file would be to open the bundle in the Finder:

  1. In Finder right click on the JOSM.app and choose "Open bundle..."
  2. You will find the latest .jar file in 'Contents' -> 'Resources' -> 'Java'
  3. Paste java -Xmx512M -jar in a Terminal window and make sure to add a space at the end
  4. Drag the latest .jar file from the Finder to the Terminal window, the correct Terminal argument should be something like java -Xmx1G -jar /Applications/josm-macosx/JOSM.app/Contents/Resources/Java/josm-snapshot-3376.jar
  5. Click the Return or Enter key to start JOSM

Is this something that should be included in the article? --zarl 16:34, 1 September 2010 (BST)


even easier if you are already in the bundle add the info to the Info.plist file... <key>VMOptions</key> <array> <string>-Xmx512M</string> <string>-XX:MaxPermSize=512M</string> </array> of course with plist editor even easier--Mafketel 15:06, 10 January 2012 (UTC)

How to update the JOSM package?

After install this JOSM mac package, is there a user friendly way of updating to a new version of the josm jar? I figured out (with supremely lacking mac skills) how to put a newly downloaded jar file in place, poking around inside the bundle, but maybe I should've just downloaded the package again. The page should explain what to do. -- Harry Wood 10:32, 17 February 2012 (UTC)

Yeah just downloading the package again seems to work fine. I suppose I was worried it would loose settings/plugins, but no -- Harry Wood 02:13, 9 November 2012 (UTC)

Merge

I merged the contents of the JOSM/MacOS page into the JOSM/Mac page, since there was no distinguishing information on either page. -- Pbb 21:06, 20 July 2012 (BST)

Using JOSM with a Mac mouse/trackpad?

JOSM makes use of extra mouse buttons, which the Mac doesn't need. Maybe some guidance on how to make this tool useful under OS X would be good. --Scruss 20:43, 16 August 2012 (BST)

I've added sections for keyboard and mouse things with some of my own observations. The delete element keyboard button is particularly mysterious. I've had a mac for two years, and only just figured it out :-)
I still don't know how to zoom out using the keyboard (to be filled in on the page there if anyone can figure that out)
-- Harry Wood (talk) 15:08, 20 August 2014 (UTC)
On my Macbook Pro I use the <fn> + <delete> key combination for delete, other than that it was quite some experimenting before I got hang of the one/two/multi-finger combination on the touch-pad, there are probably still many combinations I don't know. And All the main edit features I use keyboard shortcuts --Skippern (talk) 05:23, 21 August 2014 (UTC)

Migrating to new Mac

I just got a new mac and would like to transfer my settings over from the old machine. Is there some kind of JOSM profile folder (like in firefox) which i can just move over to the new mac? If not, what steps do I have to take to get my files and settings to the new machine? --Flaimo (talk) 10:52, 8 February 2017 (UTC)

On Mac OS X, the default locations are as follows:
Preferences: $HOME/Library/Preferences/JOSM
User data: $HOME/Library/JOSM
Cache: $HOME/Library/Caches/JOSM
I'm quoting from JOSM help but on my mac I can verify it's true! -- Harry Wood (talk) 11:53, 8 February 2017 (UTC)
Also see https://help.openstreetmap.org/questions/54446/saving-or-moving-josm-preferences . --Aseerel4c26 (talk) 21:21, 10 February 2017 (UTC)