Java BitTorrent library

JavaBittorrent

Java Problem Overview


Are there any decent BitTorrent libraries for Java? I need to program a simple torrent client, but it would be great if I didn't have to write everything from scratch.

Java Solutions


Solution 1 - Java

Turn's TTorrent is a pure Java bit torrent library.

Solution 2 - Java

Snark by Three Rings is a very lightweight bitorrent library that will give you basic torrent features.

Was originally written by Mark Wielaard. A github source can be found here https://github.com/akerigan/born-again-snark

Solution 3 - Java

I have created a Bitlet Fork on Github.

It's LGPLed, and it's running faster than ttorent.

Solution 4 - Java

Azureus (now named Vuze) gives you a plugin API. Using this API you can plug your code into Azureus. Start it inside your program, and listen/respond to its events.

Solution 5 - Java

Azureus is written in Java - is most likely not "simple" but quite likely "decent" :)

Solution 6 - Java

Adding to answer from jjnguy : The code seems to be at http://code.google.com/p/snark/ and not in the repo pointed to in the link you've provided.

I've not used it, but a Google search showed up YAIRCC. Describes itself as "A lightweight Java Bittorrent library and client".

Solution 7 - Java

Transdroid and Transdroid-desktop are libraries for adroid, that can also be used in java to control existing torrent clients.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionsamulisoderlundView Question on Stackoverflow
Solution 1 - JavaleonmView Answer on Stackoverflow
Solution 2 - JavajjnguyView Answer on Stackoverflow
Solution 3 - JavaToilalView Answer on Stackoverflow
Solution 4 - JavaAnonymousView Answer on Stackoverflow
Solution 5 - JavaThorbjørn Ravn AndersenView Answer on Stackoverflow
Solution 6 - JavaAnirudhView Answer on Stackoverflow
Solution 7 - JavaMateuView Answer on Stackoverflow