diff --git a/README.md b/README.md index 7c433d7..359d18a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,10 @@ sudo apt-get install i2p Then copy the following 5 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` +``` +mkdir -p import/lib +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: diff --git a/bin/build-launcher.sh b/bin/build-launcher.sh index d4ebd04..a850ede 100755 --- a/bin/build-launcher.sh +++ b/bin/build-launcher.sh @@ -3,7 +3,7 @@ basedir=`dirname $0`/.. # convert the jar files from an existing I2P built into modules suitable for use with jlink -basedir/bin/convert-jars-to-modules.sh +$basedir/bin/convert-jars-to-modules.sh # compile the Main class that starts the I2P router and SAM listener javac --module-path lib -d target/classes $(find src -name '*.java')