我遵循了这个指南:https://github.com/ericflo/twissandra
我在以下方面失败了:
cd cassandra
ant其中它给出了信息:
BUILD FAILED
/home/z/cassandra/build.xml:348: 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 "/usr/lib/jvm/java-6-openjdk/jre"
Total time: 6 minutes 15 seconds我对Java一无所知
发布于 2011-02-07 21:51:53
您需要一个JDK (Java开发工具包)来执行该操作。我猜你只有JRE (Java运行时环境)
如果您正在运行Ubuntu,并且想要安装sun/oracle jdk版本:
$sudo apt-get install sun-java6-jdkhttps://stackoverflow.com/questions/4922020
复制相似问题