fault Java is 1.6 (sudo
javac -version returns 1.6).
ant is 1.7.1.
Steven
-Original Message-
From: Patrick Hunt [mailto:ph...@apache.org]
Sent: Monday, October 12, 2009 9:33 PM
To: zookeeper-user@hadoop.apache.org
Subject: Re: UnsupportedClassVersionError when building zkpython
I've
Hi Steven -
I also see that problem if I build on my Mac sometimes. I'm looking into a
proper fix, but for now you can do:
ant compile
sudo python src/python/setup.py install
to build and install manually. If you have a moment, can you let me know
which ant you are using? (ant -version)
Thanks
I've seen this before. Either you have an old version of ant, or your
JAVA_HOME is not set, or it's set incorrectly (to 1.5 and ant is built
for 1.6, or vice versa).
Patrick
Henry Robinson wrote:
Hi Steven -
I also see that problem if I build on my Mac sometimes. I'm looking into a
proper fi
Any idea how I can get it to build? ZooKeeper 3.2.1 (tarball release) on
Mac OS X 10.5.8. Thanks.
sw...@lgmac-swong:~/lib/zookeeper/src/contrib/zkpython 9173> sudo ant
install
Buildfile: build.xml
BUILD FAILED
java.lang.UnsupportedClassVersionError: Bad version number in .class
file