我正在尝试创建脱机OSM文件,以便使用这些instructions为OSMAnd运行
java -Djava.util.logging.config.file=logging.properties -Xms256M -Xmx2560M -cp "./OsmAndMapCreator.jar:./lib/OsmAnd-core.jar:./lib/*.jar" net.osmand.data.index.IndexBatchCreator ./batch.xml我得到了net.osmand.data.index.IndexBatchCreator类找不到错误。
我已经更新了batch.xml,使其指向我的文件夹:
<process directory_for_osm_files="/opt/OpenStreetMap/osm_files"
directory_for_index_files="/opt/OpenStreetMap/index_files"
directory_for_generation="/opt/OpenStreetMap/gen_files" 指定我的工作文件夹以及这些文件夹是否存在。
发布于 2015-11-09 04:07:05
在执行该命令之前,您需要"cd“到OsmandMapCreator主目录。java类路径是相对于主目录的。
https://stackoverflow.com/questions/32262375
复制相似问题