开发者

Setup Cassandra for Django failed on Ant: Unable to find a javac compiler;

I've followed this guide: https://github.com/ericflo/twissandra

I'm failed on:

cd cassandra
ant

where it give message:

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开发者_如何学Python/jvm/java-6-openjdk/jre"

Total time: 6 minutes 15 seconds

I don't know anything about Java


You need a JDK (Java Development Kit) for that operation. My best guess it that you only have the JRE (Java Runtime Environment)

If you are running Ubuntu and want to install the sun/oracle jdk version:

$sudo apt-get install sun-java6-jdk
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜