Hi
After editing late in the day, I am trying to make a new map to
load on my eTrex that highlights the remaining un-named ways for the
next day, using mkgmap and a download of an .osm file using Josm of part
of a suburb, using the following command as an initial trial.
java -jar /Applications/mkgmap-r3118/mkgmap.jar --gmapsupp --style=noname /Users/xxxx/Documents/JOSM/Save_OSM_file/nonametest.osm
and I get the following advice...
Exception in thread "main" java.lang.UnsupportedClassVersionError: uk/me/parabola/mkgmap/main/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
I assume a version incompatibility with mkgmap and my java version
java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
I can't run java 1.7 on this machine
iMac7,1
System Version: Mac OS X 10.6.8 (10K549) Snow Leopard
Kernel Version: Darwin 10.8.0
...belatedly found this http://wiki.openstreetmap.org/wiki/Mkgmap/help/usage
Pre-Requisites
You need to download the following software / tools:
Java Runtime Environment 1.7 from http://www.java.com
mkgmap
splitterInstall Java Runtime Environment 1.7. Both mkgmap and splitter depend upon it.
That seems plain enough even for me now - I must have a later Java version installed and this can't be done on this machine.
** Is it likely that the developers of mkgmap will recompile a version of the program in the near future so that it runs under java 1.6?