Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
535 stars 217 forks source link

Exception in thread "main" java.lang.NoClassDefFoundError: #52

Closed yipyo closed 11 years ago

yipyo commented 11 years ago

Exception in thread "main" java.lang.NoClassDefFoundError: com/diablominer/DiabloMiner/DiabloMiner Caused by: java.lang.ClassNotFoundException: com.diablominer.DiabloMiner.DiabloMiner at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Mac 10.7.4 - Not sure why it can't find the class. All I did is git clone, and run the shell script.

Diablo-D3 commented 11 years ago

Thats why. You forgot to build it first, which may not work on OSX due to certain dependencies not having x86_64 builds. Either run mvn package or download the binary zip linked to in the forum thread instead.