2014-07-03 107 views
0

所以,我對於Java的我的Mac OSX小牛以下設置:卡桑德拉JRE 8兩分的JDK

$ java -version 

java version "1.8.0_05" 
Java(TM) SE Runtime Environment (build 1.8.0_05-b13) 
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) 

當通過啓動卡桑德拉:

$ cassandra 

我得到這個錯誤說法:

objc[4347]: Class JavaLaunchHelper is implemented in both 
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/java and 
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/libinstrument.dylib. 
One of the two will be used. Which one is undefined. 
Fehler: Ausnahme von Agent ausgelöst : java.lang.NullPointerException 

我該怎麼辦?

回答