Question

I found a good library that is absolutely needed for my project, but I failed to implement it.

https://github.com/mpetazzoni/ttorrent

I download the .zip file and in the library section of netbeans I selected the option "Add JAR/Folder". When I add the library folder to the library section, java does not let me import it to the .java file that I'm working on. I mean, java is not "recognising" the library. I also see this library is different from others that I had previously seen.

For example, I tried to implement "jsoup.jar" before and I did the same steps and it worked. I don't know why does these library isn't working.

If I'm not clear enough at this point, see the image below: mistake underlined in red:

I would want to know what I'm doing wrong. Thank you in advance.

Was it helpful?

Solution

I believe you got a source bundle. They appear to be in this maven repo. You could use maven to manage the dependency or you can grab the binary build here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top