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
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
Thanks for the suggestions, guys. The build succeeded by doing either:
ant compile
sudo python src/python/setup.py install
or:
sudo env JAVA_HOME=$JAVA_HOME ant install
as JAVA_HOME is set (to 1.6) under my account but not set under sudo. I
don't know why JAVA_HOME is required, when default