2019-01-14 18:01:40 +00:00
2019-01-14 18:01:40 +00:00
2019-01-14 18:01:40 +00:00
2019-01-14 18:01:40 +00:00
2019-01-14 12:33:02 +00:00
2019-01-14 18:01:40 +00:00

# Embedded I2P Java Router with SAM interface

This project will build a native launcher. The launcher will include the I2P router, a SAM listener and a minimal JVM.

## Prerequisites

This project requires the JAR files and base configuration dir from an existing I2P installation.

To install I2P on Ubuntu so that these files are available to you, type:

```
sudo apt-add-repository ppa:i2p-maintainers/i2p
sudo apt-get update
sudo apt-get install i2p
```

Then copy the following 4 JAR files from the I2P installation to the import/lib directory in your clone of this GitHub project:

`for i in i2p.jar mstreaming.jar router.jar sam.jar streaming.jar; do cp /usr/share/i2p/lib/$i import/lib/; done`

You will need OpenJDK 11 installed:

`sudo apt install openjdk-11-jdk-headless`

## Building the launcher

`bin/build-launcher.sh`

This will convert the imported JARs to modules, compile the Java source code in this project, and then use the jlink tool
to build a platform-specific launcher executable.

## Running the launcher

`target/router/bin/router`

## Check that the I2P router is running and that it is listening for SAM connections

`fuser 7656/tcp`

## Todo
Need to determine the most minimal base configuration directory contents, and include it as part of this project.
S
Description
Mirror of github.com/wownero/i2p-zero
Readme Multiple Licenses
2.2 MiB
Languages
Java 79.1%
Shell 18%
NSIS 2.2%
CSS 0.6%