Hi,

If its maven project then make sure you added bitcoinj dependency like 
below:
  <dependencies>
    <dependency>
      <groupId>org.bitcoinj</groupId>
      <artifactId>bitcoinj-core</artifactId>
      <version>0.14.4</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

If its simple java program then make sure to add required jars in 
classpath(For Eclipse : Project->Properties->Java Build 
Path->Libraries->Add Jars)
bitcoinj-core-0.14.4.jar
core-1.51.0.0.jar
protobuf-java-2.6.1.jar
com/google/guava/guava/18.0/guava-18.0.jar
com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
com/lambdaworks/scrypt/1.4.0/scrypt-1.4.0.jar
org/bitcoinj/orchid/1.2.1/orchid-1.2.1.jar
com/squareup/okhttp/okhttp/2.7.2/okhttp-2.7.2.jar
com/squareup/okio/okio/1.6.0/okio-1.6.0.jar
org/slf4j/slf4j-api/1.7.20/slf4j-api-1.7.20.jar

OR
You can use all combined jar : bitcoinj-core-0.14.4-bundled.jar 
(https://search.maven.org/remotecontent?filepath=org/bitcoinj/bitcoinj-core/0.14.4/bitcoinj-core-0.14.4-bundled.jar)

Check for more details: https://bitcoinj.github.io/




On Tuesday, 27 June 2017 13:10:30 UTC+5:30, Raj Krishnan V wrote:
>
> Hi there,
> I am new to both Java and Bitcoin, can you please help me to start working 
> with Bitcoinj from Eclipse IDE. I am getting "Error: Could not find or load 
> main class 
> " when I run the ForwardingService class.
>
> On Friday, June 2, 2017 at 7:58:28 PM UTC+5:30, BitCoinX3 wrote:
>>
>> Hi All,
>> I started running the ForwardingService class in the regTest mode and I 
>> am using a valid Bitcoin address,but I am getting this error
>> Version code of address did not match acceptable versions for network: 0 
>> not in [111, 196].
>> Can anyone please help here?
>> On Friday, June 2, 2017 at 5:43:53 PM UTC+5:30, BitCoinX3 wrote:
>>>
>>> Hi All,
>>> I am new to the Bitcoin ecosystem.
>>> I wanted to start Debugging the application to just get a hang of how 
>>> everything works.
>>> How to Set the Deub Configuration of the Bitcoin Project in Eclipse?
>>> I read the below link and I understood the basic flow, but I want to run 
>>> the Bitcoin Network from the Java Code Base.
>>> It would be great if someone can give me a starting point.
>>>
>>> https://bitcoinj.github.io/getting-started
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to