Sun Java is no longer available on Ubuntu from the official repository as a part of ubuntu-restricted-extra. Installing Oracle Java on any distribution would be same amount of work. Here are my notes[1] on how to install Oracle Java on Fedora 20.
I find it a little weird that you would be using a bittorrent client on an enterprise Linux solution. On Fedora, you just have to do yum install transmission-qt to install Transmission Qt version.