[OSM-talk] FW: Re: New to osmosis and it won't work for me
Nathan Scott
scottn at omnitechsolutions.co.uk
Fri Feb 29 22:03:44 GMT 2008
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?
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
More information about the talk
mailing list