[OSM-dev] Problem running osmosis (PluginLifecycleException)
Christoph Eckert
ce at christeck.de
Sat Jun 20 11:39:36 BST 2009
Hi,
I try to extract some data from an osm file using osmosis. I invoke it like
this:
java -mx1024m -jar ./osmosis-0.31/osmosis.jar --read-xml
file="someosm.bz" --node-key-value place.city,place.town --way-key-value
highway.motorway,highway.trunk,highway.primary,highway.secondary --write-xml
file="evenless.osm"
However I get some error:
org.openstreetmap.osmosis.core.Osmosis main
SCHWERWIEGEND: Execution aborted.
java.lang.NoClassDefFoundError: org/java/plugin/PluginLifecycleException
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:73)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)
The java version is:
java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
I searched the web and the archives of this list and found some advice. Due to
my complete ignorance of Java I didn't manage to put the puzzle together,
though. Do I need to set some environment variable to point java to some
plugin or library locations? Do I need to install a later Java version (I
already tried to install a recent version from java.com in a local sandbox
directory, but to no avail)? Any other hint?
Thanks in advance,
ce
More information about the dev
mailing list