How I Installed Shu Mod in Linux

  • shu version: – Hacked 2.3.0.195 (2.5.0.4)
  • linux distro :- Ubuntu
  • ubuntu version: -  8.04 LTS
  1. Install sun java JDK with apt-get install sun-java6-jdk (most of you can just install the JRE(apt-get install sun-java6-jre) and not the JDK, i needed it for other reasons….)
  2. Install Azureus in the normal way using apt-get install Azureus
  3. sudo su -> enter your password -> gedit /usr/bin/azureus -> replace the last line(starting from exec till thee end) with the following,
  4. exec    $JAVA -Xmx1024M -Djava.library.path=.:/usr/lib/jni:/usr/lib -jar /usr/share/java/Azureus2.jar
  5. Extract and get the Shu’s Azureus2.jar. copy it to /usr/share/java/Azureus2.jar
  6. Open up the Azureus2.jar(the one you just copied) with the archive manager(just double click on it!).
  7. In the archive go in to the path /META-INF/ and then open the file MANIFEST.MF file.
  8. Add the following two lines in to it
  9. Class-Path: /usr/lib/java/swt.jar
    Main-Class: org.gudy.azureus2.ui.swt.Main
  10. Save it. and Update the file inside the Azureus2.jar(the Archive manager will ask you whether to update it.. just say yes).
  11. Now lunch azureus in what ever way you prefer. ex from the menu/command line.
  12. volla! now shu mod should start.

btw: this is just a one way of doing it. there are many ways. i think you should be able to change all the command line paras and give all the option from the command line it self rather than editing the manifeast file. i m not sure thought. anyways i got it to work and thats all i wanted :)

4 Responses to “How I Installed Shu Mod in Linux”

  1. fishsemxpinha Says:

    It didn’t worked for me. Anyway, do you know any mod for rtorrent?

  2. silentp33r Says:

    @fishsemxpinha what went wrong? and no i don’t know of any mod for rtorrent sorry.

  3. zetaz Says:

    Help!

    /usr/bin$ azureus
    Looking for and picking a preferred Java runtime
    Use environment AZUREUS_JAVA to override
    Using Java: /usr/lib/jvm/java-6-sun/jre/bin/java
    Class-Pathin thread “main” java.io.IOException: invalid header field name:
    at java.util.jar.Attributes.read(Attributes.java:416)
    at java.util.jar.Manifest.read(Manifest.java:182)
    at java.util.jar.Manifest.(Manifest.java:52)
    at java.util.jar.JarFile.getManifestFromReference(JarFile.java:160)
    at java.util.jar.JarFile.getManifest(JarFile.java:146)

  4. ShuMod Says:

    I got the same error “Class-Pathin thread “main” java.io.IOException: invalid header field name: “

Leave a Reply