I improved BitCoinJ a bit so now you can just use PrivateKeys without any modifications, like this:
java -classpath=out com.google.bitcoin.examples.PrivateKeys <bitbills_key> <your address>
Make sure you have a running copy of Bitcoin (regular C++ software) on your computer and run the above command. It should trundle along and process the block chain looking for usages of the key. Then it will send you the coins to your chosen address.
I checked out bitcoinj and built it, and I can't run the code. The above command didn't work at all.
If I run:
java -classpath ./dist/* com.google.bitcoin.examples.PrivateKeys <bitbills_key> <your address>
it runs, but complains that slf4j classes aren't found. If I downloaded slf4j and unpacked it, and ran:
java -classpath ./dist/*:~/src/sld4j-dir com.google.bitcoin.examples.PrivateKeys <bitbills_key> <your address>
I get all kinds of crazy errors linking to pages on the web talking about all kinds of problems with linking to multiple versions of slf4j stuff. If I try to limit the jars I still get errors.
Did you include (or try to include) the logging stuff or do I need to configure that somehow.
Anyway, I give up on bitcoinj. Try to download the patched client from bitbills. That won't execute at all. I'm presuming because it's a 64 bit build and my linux box is 32 bit?
I try to apply the patch manually, but then remember I could never get the original client to compile because something was wrong with UPNP, even though it compiled and installed.
Not complaining, just pointing out that it's been pretty hard for me to get my money.