Bitcoin Forum
November 13, 2024, 02:52:22 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help setting up miner for OS X.  (Read 8843 times)
fifthmanstanding (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 17, 2011, 01:10:08 AM
 #1

Hi All,

Lets first assume I know nothing about anything.
I run a mac pro on Snow Leopard 10.6.6 and have an Nvidia GeForce 8800GT card.
I am attempting to get DiabloMiner up and running, join a mining pool and mine.

At this point in time I have attempted to run the DiabloMiner-OSX.sh file in terminal. And I am met with this message:

fifths-mac-pro:~ Fifth$ /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)
fifths-mac-pro:~ Fifth$

From what I can see (googled the error message) this is a fairly common error message. Yet I can only find it displayed here:
http://bitcointalk.org/index.php?topic=1721.0

The question of 'what the heck is this and why is it doing it' is dignified a few times but the process to fix it is not explained in a method or using language I personally am familiar with. Would anyone help me out here?
bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
May 17, 2011, 01:14:52 AM
 #2

Forget it man get a real PC that can be upgraded + run Linux and dump nvidia for ati.
fifthmanstanding (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 17, 2011, 01:24:58 AM
 #3

yeah......not here to play fanboy. Just want an answer to a question.
1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
May 17, 2011, 01:28:47 AM
 #4

Make sure you download the compiled version of the miner from the official diablo thread.

That error message is essentially telling you that it cannot find the compiled app. I assume you downloaded this from github directly, and didn't run it through a compiler?

If you get it from the official thread it should "just work".

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
fifthmanstanding (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 17, 2011, 01:32:44 AM
 #5

went here:
https://github.com/Diablo-D3/DiabloMiner

downloaded the link 'DiabloMiner-OSX.sh" opened it up. dragged into a terminal. and I get that error message.

1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
May 17, 2011, 01:38:09 AM
 #6

went here:
https://github.com/Diablo-D3/DiabloMiner

downloaded the link 'DiabloMiner-OSX.sh" opened it up. dragged into a terminal. and I get that error message.



Yeah, that's the problem.

Go here, http://bitcointalk.org/index.php?topic=1721.0

That's the "official" diablo miner thread. The first post is from it's creator (the same guy who has it at GitHub). However, unlike GitHub, in his first post he updates the "Newest Binary" link to have a version already compiled for you. If you download it from that first post you shouldn't have any problems running it with the DiabloMiner-OSX.sh script from Terminal.

However, don't drag it to Terminal. Instead, open Terminal up and cd into the directory you extracted DiabloMiner in. Then run it... here is an example of my settings:

Quote
./DiabloMiner-OSX.sh -u myusernamehere -p youwish -o mining.bitcoin.cz -r 8332 -v 2 -f 2 -w 129

Of course you'll need to change you're username, password, and which pool (and port) you use. And those -v, -f, and -w flags will need to be tweaked depending on which card you have... but those values should get you started.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
fifthmanstanding (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 17, 2011, 03:08:58 AM
 #7

Worked like a charm. You're a lifesaver man. Thanks. The only thing I'm unclear on is the login. Would I use my login to the mining pool site? to this site? which login?
1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
May 17, 2011, 03:22:48 AM
 #8

Worked like a charm. You're a lifesaver man. Thanks. The only thing I'm unclear on is the login. Would I use my login to the mining pool site? to this site? which login?

Glad to hear it worked.

It certainly will not be the login to this site.

Which pool did you sign up for? I mine on Slush's pool, and he lets me register my miner's individually. So, each of my miners has it's own user and password, which is different from what I log into Slush's website with. Checkout http://bitcointalk.org/index.php?topic=1976.0

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
fifthmanstanding (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
May 17, 2011, 03:26:22 AM
 #9

As far as pools go, are some better than others? Is success and speed determined by the number of users?
kcgreene
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 04, 2012, 06:28:44 AM
 #10

old thread but just in case anyone every comes across it like I did and cant get their miner setup for OS X..

The above parameters got me close but it was still throwing errors for me. In the end what worked was "-r 8332 -v2 -w128 -na".

For your reference this machine is a Mac Pro running 10.8.2 with two GeForce GT 120s in it but I can only get one of the cards to spool up with Diablo..

DobZombie
Hero Member
*****
Offline Offline

Activity: 896
Merit: 532


Former curator of The Bitcoin Museum


View Profile
December 04, 2012, 11:45:08 AM
 #11

The only thing I'm unclear on is the login. Would I use my login to the mining pool site? to this site? which login?



?

Tip Me if believe BTC1 will hit $1 Million by 2030
1DobZomBiE2gngvy6zDFKY5b76yvDbqRra
kcgreene
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 04, 2012, 03:56:52 PM
 #12

additional notes. Just tried the same parameters as above on my 10.8 imac with a ATI Radeon HD 6770M in it and it works as well but at about 10x the mhash.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!