[OSM-talk] FW: Re: New to osmosis and it won't work for me

Hakan Tandogan hakan at gurkensalat.com
Fri Feb 29 17:38:32 GMT 2008


On Fri, February 29, 2008 18:19, scottn at omnitechsolutions.co.uk wrote:
> Hi,
>
>
> Better but I now get:
> esys at esys-desktop:~/osmosis-0.24$ sh do_it
> Exception in thread "main" java.lang.ClassFormatError:
> com.bretth.osmosis.core.Osmosis (unrecognized class file version) at
> java.lang.VMClassLoader.defineClass(libgcj.so.70) at

o.k., next try: that "libgcj" suggests that you are using the GCJ VM,
which, according to its web page, "supports most of the 1.4 libraries plus
some 1.5 additions".

As far as I remember, Osmosis uses some 1.6 features, especially the
Geometry classes. There is a link to a 1.5 compatible version on the wiki
( http://wiki.openstreetmap.org/index.php/Osmosis#Downloading ), but I'm
not sure how current that one is or if GCJ+Gnu Classpath is mature enough
to intepret that version.

You wrote in an earlier email that you already downloaded JDK1.6 for your
box. Maybe you need to explicitly set your path to that version?


Regards,
Hakan

-- 
The key to immortality is first living a life worth remembering...






More information about the talk mailing list