Why the bitcoin address is not valid in any of the testNet faucet I develop a simple Java/Maven/JSP app for bitcoin and generated the address 
    167Bqf3Mi3gnfhw5DhCfoYNTMxqANt3Zky 
I would like to send some money to this address from a bitcoin testnet faucet. I feel it weird that none of the testNet faucet out there seems to recognize the address and indicate it as invalid. Funny thing is I used the same code for generating the address that is provided in the BitcoinJ github page. 

How should I approach from here?
Testnet uses a different address format than the main network. Testnet addresses start with an "m" or "n".
The address you are using starts with a "1" and is therefore for the main network. This is why the testnet faucets say the address is invalid.

From the documentation of BitcoinJ, it seems that you can configure your code to use the testnet with:


  params = TestNet3Params.get();