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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <talk@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, [EMAIL PROTECTED] wrote:
> Hi,
>
>
> Better but I now get:
> [EMAIL PROTECTED]:~/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@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to