Running on a mac.
Did the chmod u+x start.sh
from finder tried to run start.sh and got the message to start from terminal. Did that and got this...
Version: Mobile Atlas Creator (MOBAC) 2.0.0 alpha 1 (2223)
Platform: Mac OS X (10.9.4)
Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_65-b14-462-11M4609)
Max heap size: 1015.69 MiB
CPU cores: 4
Thread: main
Error hierarchy:
UnsupportedClassVersionError: org/mapsforge/map/rendertheme/XmlRenderTheme : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/mapsforge/map/rendertheme/XmlRenderTheme : 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)
at mobac.mapsources.DefaultMapSourcesManager.loadMapSources(DefaultMapSourcesManager.java:66)
at mobac.mapsources.DefaultMapSourcesManager.initialize(DefaultMapSourcesManager.java:151)
at mobac.Main.<init>(Main.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at mobac.StartMOBAC.main(StartMOBAC.java:46)</init>
MOBAC 2.0 requires Java 7.
I'm running java7 update 67
see https://cloudup.com/cihWOjQXHD0
But you have also Java 1.6 installed and for executing MOBAC you are using Java 1.6.0_65.
OK, that sucks.
Anyway to tell the command line which version to use?
In the meantime I'll go and google how the f*** to get rid of the ice-age version of java
If you have multiple Java versions you have multiple java executables installed. find it and use the absolute path to it ("/usr/bin/java" for example), not just "java". The exact path depends on your system, I can not help you on that topic.
thanks r_x
For the record
Settings shows Java's JRE version
The terminal's java -version command shows the JDK version. I needed to download the right jdk and got past this error.