How to use .java extensions API with Eclipse?

62 views Asked by At

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?

1

There are 1 answers

2
Ubica On BEST ANSWER

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