Diablo-D3 / DiabloMiner

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

Traceback on OSX #10

Closed peterbraden closed 13 years ago

peterbraden commented 13 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:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Diablo-D3 commented 13 years ago

If you're trying to use DiabloMiner from git... you forgot to build it first. Download and install maven, and run mvn package.

graingert commented 13 years ago

still getting this on the compiled binary, with OSX

Diablo-D3 commented 13 years ago

That can only be triggered one of two ways. Either you forgot to cd into the DiabloMiner dir first (DiabloMiner should always be executed as something like ./DiabloMiner-OS.sh), or you forgot to run mvn package (which doesnt apply to binary zip users).