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

Launch error #8

Closed Lohoris closed 13 years ago

Lohoris commented 13 years ago

Palace-of-the-Nine-Moons:~/Sviluppo/_varie/ext/DiabloMiner looris$ ./DiabloMiner-OSX.sh 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)

Since the documentation is zero, I don't really know what to say. Feel free to ask me details or whatever.

Diablo-D3 commented 13 years ago

I assume you downloaded this from git. You forgot to build it, run mvn package

Lohoris commented 13 years ago

You're right, it worked. A very small INSTALL file explaining that would be a very wise thing to add.

Diablo-D3 commented 13 years ago

Most people are using the binary provided instead of the source.

Lohoris commented 13 years ago

Of course. And most source code downloads include instructions on how to build them.

Diablo-D3 commented 13 years ago

Actually, I would closer say SOME do. Most don't because they use a standardized method (such as make, ant, or mvn).

jessecurry commented 11 years ago

Even those generally have a couple lines in the README (e.g. ./configure && make && make install)

Diablo-D3 commented 11 years ago

'Tis the curse of Java.

gamafranco commented 11 years ago

Just fetched the source, tried to run, got the same error, searched google and ended up here.

aprescott commented 11 years ago

A very small INSTALL file explaining that would be a very wise thing to add.

:+1: on this. A note in the README about how to build and run is a standard thing.

aprescott commented 11 years ago

(Not only for people trying to use it, but for anyone who might want to help fix bugs and submit patches, etc.)

calvinte commented 11 years ago

Just fetched the source, tried to run, got the same error, searched google and ended up here.

Ditto.

Diablo-D3 commented 11 years ago

Theres a reason why this bug is closed. Follow the directions in the README.

aprescott commented 11 years ago

It's worth pointing out that at the time of my comment the README had not been updated with instructions, but it now does have a mention of mvn package (I think it could be a bit more eye-catching, but it's there!).

Lohoris commented 10 years ago

Worth pointing out that the bug was closed right away, I'm not sure when the README was finally updated, but likely much later.