I am on a VPS running Debian 4 on Dreamhost, and am having problems running an extract on planet-latest.osm.bz2
bzcat planet-latest.osm.bz2 | osmosis\
-read-xml enableDateParsing=no file=/dev/stdin\
--bounding-box top=50.2866 left=-123.1448 bottom=49.8866 right=-122.7448--write-xml file=-\
| bzip2 > extracted.osm.bz2
Yields
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
How do I fix this? Also does anyone now how long an extract like this would take? I only have 300mb of dedicated RAM but more available for short periods of time.
asked
10 Feb '11, 19:41
wbski
146●6●9●14
accept rate:
50%