hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang jianfeng <zjf...@gmail.com>
Subject Errors when run zookeeper in windows ?
Date Tue, 18 Aug 2009 06:23:08 GMT
Hi all,

I tried to run zookeeper in windows, but the following errors appears:

/************************************************************************************************************************************************************
$ java.lang.NoClassDefFoundError:
Files\Java\jre6\lib\ext\QTJava/zip;D:\Java\lib\hadoop-0/18/0\build\tools:/home/zjffdu/zookeeper-3/1/1/bin////zookeeper-3/1/1/jar:/home/zjffdu/zookeeper-3/1/1/bin////lib/junit-4/4/jar:/home/zjffdu/zookeeper-3/1/1/bin////lib/log4j-1/2/15/jar:/home/zjffdu/zookeeper-3/1/1/bin////src/java/lib/junit-4/4/jar:/home/zjffdu/zookeeper-3/1/1/bin////src/java/lib/log4j-1/2/15/jar
Caused by: java.lang.ClassNotFoundException:
Files\Java\jre6\lib\ext\QTJava.zip;D:\Java\lib\hadoop-0.18.0\build\tools:.home.zjffdu.zookeeper-3.1.1.bin....zookeeper-3.1.1.jar:.home.zjffdu.zookeeper-3.1.1.bin....lib.junit-4.4.jar:.home.zjffdu.zookeeper-3.1.1.bin....lib.log4j-1.2.15.jar:.home.zjffdu.zookeeper-3.1.1.bin....src.java.lib.junit-4.4.jar:.home.zjffdu.zookeeper-3.1.1.bin....src.java.lib.log4j-1.2.15.jar
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class:
Files\Java\jre6\lib\ext\QTJava.zip;D:\Java\lib\hadoop-0.18.0\build\tools:/home/zjffdu/zookeeper-3.1.1/bin/../zookeeper-3.1.1.jar:/home/zjffdu/zookeeper-3.1.1/bin/../lib/junit-4.4.jar:/home/zjffdu/zookeeper-3.1.1/bin/../lib/log4j-1.2.15.jar:/home/zjffdu/zookeeper-3.1.1/bin/../src/java/lib/junit-4.4.jar:/home/zjffdu/zookeeper-3.1.1/bin/../src/java/lib/log4j-1.2.15.jar.
Program will exit.

/************************************************************************************************************************************************************

It looks like my JAVA_HOME is not set correctly, anyone have any ideas?


Thank you


Jeff zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message