I've resolved it now.

For the record, it seems my JDK and runtime were using different versions of
Java (write once, run anywhere - hah!). Java class files do have versions
and an older runtime won't run classes generated by a newer compiler
(reported, among others, at
http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240)

I followed the advice at
http://gephi.org/users/install-java-6-mac-os-x-leopard/ to set my default
Java version. But ant ignores this and uses the JAVA_HOME environment
variable instead :-/ See
http://stackoverflow.com/questions/695350/running-ant-with-jdk-1-6-on-mac-os-x

A.

On 25 September 2010 18:21, Joseph Gentle <[email protected]> wrote:

> The latest version builds & runs fine for me on my macbook... I didn't
> know java gave classes versions.
>
> -J
>
>
> On Sat, Sep 25, 2010 at 6:08 PM, Soren Lassen <[email protected]> wrote:
> > I experienced this a few weeks ago. I think (!?) I ran "ant clean" and
> > all was well again.
> >
> > On Sat, Sep 25, 2010 at 6:05 PM, Alex North <[email protected]> wrote:
> >> I just tried to get the default repo building on a Mac - if we can get
> it
> >> going I'd like to maintain it working. Anyway, it fails with:
> >> proto_compile:
> >>     [javac] Compiling 2 source files to
> >> /Users/alex/src/wave-protocol-1/build/core
> >>     [javac]
> >>
> /Users/alex/src/wave-protocol-1/proto_src/org/waveprotocol/wave/examples/fedone/waveserver/WaveClientRpc.java:546:
> >> cannot access org.waveprotocol.wave.federation.Proto
> >>     [javac] bad class file:
> >>
> /Users/alex/src/wave-protocol-1/third_party/runtime/wave-libraries/proto.jar(org/waveprotocol/wave/federation/Proto.class)
> >>     [javac] class file has wrong version 50.0, should be 49.0
> >>     [javac] Please remove or make sure it appears in the correct
> >> subdirectory of the classpath.
> >>     [javac]     private
> >> org.waveprotocol.wave.federation.Proto.ProtocolHashedVersion
> hashedVersion_;
> >>     [javac]                                             ^
> >>     [javac] 1 error
> >>
> >> Has anyone got this working, or know what's going wrong here?
> >> Cheers,
> >> Alex
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Wave Protocol" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<wave-protocol%[email protected]>
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/wave-protocol?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Wave Protocol" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<wave-protocol%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/wave-protocol?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Wave Protocol" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<wave-protocol%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/wave-protocol?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to