zookeeper源码之代码编译构建zookeeper-release-3.5.4

1、首先下载zookeeper源码
地址:https://github.com/apache/zookeeper/tree/release-3.5.4
2、cd到源码目录下,使用ant编译成eclipse能运行的工程(需要在电脑先下载配置ant,才能使用ant命令,如需要请查看本人前一篇文档https://blog.csdn.net/mobile18611667978/article/details/104350343)
在这里插入图片描述
在这里插入图片描述
3、使用idea打开
运行ZookeeperMain方法启动
在这里插入图片描述


版权声明:本文为mobile18611667978原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。