Closed Lohoris closed 13 years ago
I assume you downloaded this from git. You forgot to build it, run mvn package
You're right, it worked. A very small INSTALL file explaining that would be a very wise thing to add.
Most people are using the binary provided instead of the source.
Of course. And most source code downloads include instructions on how to build them.
Actually, I would closer say SOME do. Most don't because they use a standardized method (such as make, ant, or mvn).
Even those generally have a couple lines in the README (e.g. ./configure && make && make install)
'Tis the curse of Java.
Just fetched the source, tried to run, got the same error, searched google and ended up here.
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.
(Not only for people trying to use it, but for anyone who might want to help fix bugs and submit patches, etc.)
Just fetched the source, tried to run, got the same error, searched google and ended up here.
Ditto.
Theres a reason why this bug is closed. Follow the directions in the README.
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!).
Worth pointing out that the bug was closed right away, I'm not sure when the README was finally updated, but likely much later.
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.