logo separator

[mkgmap-dev] splitter error : java.lang.NoClassDefFoundError: crosby/binary/file/BlockReaderAdapter

From Steve Ratcliffe steve at parabola.me.uk on Sun Feb 27 19:23:08 GMT 2011


>    export
> CLASSPATH=$CLASSPATH:/opt/jars/osmprotobuf/osmpbf.jar:/opt/jars/protobuf-2.3.0/protobuf.jar
>    java -Xmx896m -jar $FILEDIR/splitter.jar --cache=$cache

The CLASSPATH has no effect when you use -jar.

The jar file contains its own class path which contains all the jar 
files in the lib directory of the distribution.


More information about the mkgmap-dev mailing list