JOSM/Mac
This page give notes for JOSM on Mac OS X (installing and using)
Contents |
system requirements
You need Mac OS X 10.4 or better, with Java 1.5.
10.3 will not do the job.
install
Download application: JOSM Mac package
Drag JOSM icon to Applications folder
start
Double-click JOSM in Applications folder.
memory
If you need to allocate more memory (in order to edit larger files or if you get the 'strange things may happen' memory error),
- Make sure JOSM isn't open so it can be started using the Terminal application
- Open Terminal (from Applications/Utilities/ in Finder)
- Change to the directory where josm-latest.jar is... If it's on your desktop, try 'cd Desktop'
- Copy and paste the following line in to the terminal to start JOSM with more memory:
java -Xmx512M -jar josm-latest.jar
Include -Dapple.laf.useScreenMenuBar=true to place the menu on the OS X menu bar, and -Xdock:name="JOSM" -Xdock:icon="logo.png" to give it icon and name.
If you're not familiar with scripts just use the Jar Bundler application, coming with MacOS X.
It'll create a start application, let's call it "JOSM!".
You'll find it here:
/Developer/Applications/Java Tools/ or here
/Developer/Applications/Utilities/ or here
/usr/share/java/Tools/ (OSX 10.6 - Snow Leopard).
Just double click to launch it. In the first menu build information enter the location of the just downloaded JOSM jar file by clicking the choose... button. In the third menu properties choose the edit box vm options to enter the appropriate memory settings. If you're able to afford it try spending up to a GB RAM to JOSM.
Here's what to enter into the vm options edit box:
-Xmx512M -XX:MaxPermSize=512M (which starts the JOSM application with 512MB and grants up to 1GB of RAM).
Then press create application... to create the start application (call it JOSM!, f.e.). JOSM! does not have to be in the same directory as the jar file. Just save or move JOSM! to your applications folder. Double click JOSM! to start the JOSM aplication.