From 3e3d4191d823f459f2c57d1e235232bde28d7f3f Mon Sep 17 00:00:00 2001 From: knaccc Date: Mon, 14 Jan 2019 18:36:49 +0000 Subject: [PATCH] fixed basedir --- README.md | 5 ++++- bin/build-launcher.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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')