<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><p>Hi<br>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.</p><p>java
-jar /Applications/mkgmap-r3118/mkgmap.jar --gmapsupp
--style=noname /Users/xxxx/Documents/JOSM/Save_OSM_file/nonametest.osm</p><p>and I get the following advice...</p><div class="quotebox"><blockquote><div><p>Exception
in thread "main" java.lang.UnsupportedClassVersionError:
uk/me/parabola/mkgmap/main/Main : Unsupported major.minor version 51.0<br> at java.lang.ClassLoader.defineClass1(Native Method)<br> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)<br> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)<br> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)<br> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)<br> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)<br> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)<br> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)</p></div></blockquote></div><p>I assume a version incompatibility with mkgmap and my java version</p><p>java -version<br>java version "1.6.0_65"<br>Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609)<br>Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)</p><p>I can't run java 1.7 on this machine </p><p>iMac7,1<br>System Version: Mac OS X 10.6.8 (10K549) Snow Leopard<br>Kernel Version: Darwin 10.8.0</p><p>...belatedly found this <a href="http://wiki.openstreetmap.org/wiki/Mkgmap/help/usage">http://wiki.openstreetmap.org/wiki/Mkgmap/help/usage</a></p><div class="quotebox"><blockquote><div><p>Pre-Requisites</p><p>You need to download the following software / tools:</p><p> Java Runtime Environment 1.7 from <a href="http://www.java.com">http://www.java.com</a><br> mkgmap<br> splitter</p><p>Install Java Runtime Environment 1.7. Both mkgmap and splitter depend upon it.</p></div></blockquote></div><p>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.<br><br></p><p>** 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?</p></body></html>