Search code examples
javaeclipsejspbitcoincoinbase-api

How to use .java extensions API with Eclipse?


I'm working on a project for Java using BitCoin. I downloaded an API from here.

I expected to get a .jar file but the files I downloaded are .java files. How do I use this API in Eclipse?


Solution

  • try to import the containing folder as a project in Eclipse...

    *.java files contain actual java code that needs to be compiled

    *.jar is the compiled version of the code

    so when you import it in Eclipse, try to run it, and then once it's working export it to *.jar