eclipse编译zookeeper
来源:互联网 发布:数据可视化 陈为 网盘 编辑:程序博客网 时间:2024/05/21 14:54
zookeeper需要使用ant进行编译,eclipse中已经集成了ant,编译起来比较方便。需要找到zookeeper项目中的build.xml文件,右键点击,选择Run As->Ant Build
编译过程中,可能提示如下错误:
BUILD FAILED
D:\zookeeper-3.4.5\build.xml:240: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "D:\eclipse\jre"
解决的方法如下:
进入
Window > Preferences > Ant > Runtime > Classpath > Global Entries
点击Add External Jars,进入jdk的安装目录,选择lib/tools.jar。
之后重新编译,问题解决
0 0
- eclipse编译zookeeper
- eclipse编译zookeeper
- Zookeeper 源代码编译导入Eclipse
- win7下Ant编译Zookeeper源码为Eclipse工程
- Zookeeper源码编译为Eclipse工程(win7下Ant编译)
- 如何编译Zookeeper源码
- zookeeper C API 编译
- zookeeper 源码编译
- zookeeper c client编译
- eclipse zookeeper plugin
- ZooKeeper源码导入Eclipse
- eclipse安装zookeeper插件
- ZooKeeper之.net客户端编译
- hadoop,hbase,zookeeper源码编译
- 编译Eclipse。
- eclipse编译
- zookeeper可视化Eclipse插件安装
- eclipse连不上linux的zookeeper
- 坐在马桶上学算法@排序总结:小哼买书
- git pull rejected
- Irony - .NET 学习笔记
- 实例教程Unity3D单例模式(一)通常用法
- 让Xcode 支援Lua 语法高亮
- eclipse编译zookeeper
- 未知问题------js导入失败
- 从Code Review谈如何做技术
- 共享内存结构与指针问题
- Web Service 之 Exception: "The HTTP request is unauthorized with client authentication scheme......"
- 把LIST转化成数组
- dsdsvxzvx
- titanium 安装过程错误解决办法
- jdk和jre是什么?都有什么用?(转帖)