[OSM-talk] FW: Re: New to osmosis and it won't work for me
Andy Allan
gravitystorm at gmail.com
Sat Mar 1 09:51:51 GMT 2008
On Fri, Feb 29, 2008 at 10:03 PM, Nathan Scott
<scottn at omnitechsolutions.co.uk> wrote:
> Ok this may seem like a daft question, but how do you set the path so it
> uses version 1.6?
>
> I've installed JAVA1.6 from Sun, but not sure how to force the JAVA calls to
> use it?
If you are using ubuntu, the following may help:
https://help.ubuntu.com/community/Java#head-fef9352fb26820bb774df978180c9dd3a60e777b
Cheers,
Andy
> Thanks and Regards,
>
> Nathan
>
>
> ----- Original Message -----
> From: "Hakan Tandogan" <hakan at gurkensalat.com>
> To: <scottn at omnitechsolutions.co.uk>
> Cc: <talk at openstreetmap.org>
> Sent: Friday, February 29, 2008 5:38 PM
> Subject: Re: [OSM-talk] FW: Re: New to osmosis and it won't work for me
>
>
>
> 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...
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.2/1305 - Release Date: 29/02/2008
> 18:32
>
>
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list