distributePro / ovsrpro

A collection of 3rd party libraries.
MIT License
0 stars 4 forks source link

ZooKeeper requires a patch to build on Kubuntu 18.04 #45

Closed brobeson closed 4 years ago

brobeson commented 6 years ago

When building the target zookeeper_ant, I got the following errors:

jute:
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

I manually edited xpbase/Source/zookeeper/build.xml, setting javac.target and javac.source to 1.6. This built, but gave warnings that 1.6 is obsolete. I set both values to 1.8, which worked without any warnings.

brobeson commented 4 years ago

This is done.