[mkgmap-dev] coastline
From RheinSkipper rheinskipper1000 at gmx.de on Mon Jan 28 18:28:26 GMT 2013
The precompiling sea process works perfect on my Windows PC. > The semi-colon must be a colon for unix/linux systems. > Now I tried it with a colon. But on the Linux server I still have no success. Running the sea generator produces this error: Exception in thread "main" java.lang.UnsupportedClassVersionError: uk/me/parabol a/mkgmap/sea/optional/PrecompSeaGenerator : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 2) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: uk.me.parabola.mkgmap.sea.optional.PrecompSeaGene rator. Program will exit. For this I used the mkgmap I built successfully under Windows and copied it to the Linux server. Building mkgmap under Linux fails with errors like: [javac] symbol: class Node [javac] location: class PrecompSeaSaver [javac] /home/oseam/osm/mksea/mkgmap/src/uk/me/parabola/mkgmap/sea/optional/ PrecompSeaSaver.java:144: error: package uk.me.parabola.splitter does not exist [javac] for (uk.me.parabola.splitter.Way pbfWay : pbfWays) { [javac] ^ [javac] Note: /home/oseam/osm/mksea/mkgmap/src/uk/me/parabola/mkgmap/sea/opt ional/PrecompSeaGenerator.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 18 errors BUILD FAILED /home/oseam/osm/mksea/mkgmap/build.xml:233: Compile failed; see the compiler err or output for details. For building mkgmap I just extracted apache-ant-1.8.4-bin.tar.gz to $HOME/osm/mksea/apache-ant and jdk-7u11-linux-x64.tar.gz (not the rpm version) to $HOME/osm/mksea/jdk and set the environment variables accordingly: #!/bin/bash export ANT_HOME=$HOME/osm/mksea/apache-ant export JAVA_HOME=$HOME/osm/mksea/jdk export PATH=${PATH}:${ANT_HOME}/bin cd mkgmap ant resolve-optional ant
- Previous message: [mkgmap-dev] coastline
- Next message: [mkgmap-dev] coastline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list