0
It looks like the code that you're running expects to be able to connect to localhost and download the blockchain. Since there is no litecoin instance listening locally, this will not work.
Install litecoin, and run it.
I Download the litecoin client and run it,this is litecoin wallet client , I want to use run litecoin java code , should I use litecoin wallet client and change this wallet network to test ? – Lee – 2017-08-17T06:11:59.967
Do you have a local litecoind instance? – Nick ODell – 2017-08-17T03:45:12.330
No,But I Download litecoinj in github,how can i get the litecoin instance client ? I gratitude that, buy the way, I run bitcoinj use the main.class in java, and i can see the bitcoin wallet , how can litecoind use it ? i'm confuse. – Lee – 2017-08-17T03:51:11.213