Java-Wrapper manuell installieren

The installation package for the I2P router comes with a Java wrapper for the most common architectures. If your system is not supported by our installer—or if you want to update the wrapper to a newer version—the following steps describe installing the wrapper manually.

  • Check Tanuki Software's download page for your platform. Is your platform listed? If so, you're in luck! Download the most recent version of the Community Edition for your OS and CPU and move to the next step.
  • If your platform does not have an already compiled wrapper available, you may be able to compile it yourself. If you are willing to have a go at it, move on to compiling the wrapper for your system.

Vorhandene Binärdateien verwenden

In the steps below, $I2P means the location I2P was installed to.

  1. tar xzf wrapper-*.tar.gz
  2. cp wrapper*/bin/wrapper $I2P/i2psvc
  3. cp wrapper*/lib/wrapper.jar $I2P/lib
  4. cp wrapper*/lib/ $I2P/lib
  5. Try to start I2P using $I2P/i2prouter start
  6. Mit tail -f /tmp/wrapper.log schauen, ob es dabei Probleme gibt.

If this did not work you'll need to use to start I2P.

Aus dem Quellcode kompilieren

These steps worked to compile the wrapper for use on a mipsel system running Debian. The steps will need to be altered for your system.

  1. Download the source archive for the community version of the wrapper from wrapper download page.
  2. Tar-Archiv extrahieren
        tar xzf wrapper_3.5.13_src.tar.gz
  3. Man setze die ENV-Variablen ANT_HOME und JAVA_HOME. In Debian geht das z.B. so:
        export ANT_HOME=/usr/share/ant
        export JAVA_HOME=/usr/lib/jvm/default-java
  4. Da es für Mipsel kein Makefile gibt, kann man eines anderes Makefile kopieren.
        cp src/c/Makefile-linux-x86-32.make src/c/Makefile-linux-mipsel-32.make
  5. Jetzt kann man versuchen, den Wrapper zu kompilieren:
        ./ (Das Skript ./ verwenden wenn man eine 64bit-CPU and -JVM benutzt)
  6. Den Wrapper an die richtige Stelle kopieren:
    • cp bin/wrapper $I2P/i2psvc
    • cp lib/wrapper.jar $I2P/lib
    • cp lib/ $I2P/lib
  7. Try to start I2P using $I2P/i2prouter start
  8. Mit tail -f /tmp/wrapper.log schauen, ob es dabei Probleme gibt.

If this did not work you'll need to use to start I2P.