有谁知道教程如何在Cygwin下的Windows上运行HBase吗?HBase 0.92在Windows上与Cygwin独立运行
我设法建立的一切,如键为自动登录使用SSH但是我坚持了以下错误消息:
localhost: +======================================================================+
localhost: | Error: JAVA_HOME is not set and Java could not be found |
localhost: +----------------------------------------------------------------------+
localhost: | Please download the latest Sun JDK from the Sun Java web site |
localhost: | > http://java.sun.com/javase/downloads/ < |
localhost: | |
localhost: | HBase requires Java 1.6 or later. |
localhost: | NOTE: This script will find Sun Java whether you install using the |
localhost: | binary or the RPM based installer. |
localhost: +======================================================================+
...
java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
我已经设置的.bash_profile点到:
export JAVA_HOME='/usr/lib/jre1.6.1'
这是真正的jre上的符号链接
/usr/lib/jre1.6.1 -> /cygdrive/c/Java/jre7/
你是否得到任何“java -version”的输出? – Kiran
是的 - 它的工作原理! –