From fe95ea7030cc078d2f2206fd95580c31497c9892 Mon Sep 17 00:00:00 2001 From: knaccc Date: Mon, 14 Jan 2019 19:15:25 +0000 Subject: [PATCH] fixed compile --- bin/build-launcher.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/build-launcher.sh b/bin/build-launcher.sh index c96b40e..f1c0e24 100755 --- a/bin/build-launcher.sh +++ b/bin/build-launcher.sh @@ -6,10 +6,13 @@ basedir=$(dirname $(dirname $(readlink -fm $0))) $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') +echo "*** Compiling Main class" +javac --module-path import/lib -d target/classes $(find src -name '*.java') # package as a modular jar +echo "*** Packaging as a modular jar" jar --create --file target/org.getmonero.i2p.embedded.jar --main-class org.getmonero.i2p.embedded.Main -C target/classes . # create an OS specific launcher which will bundle together the code and a minimal JVM +echo "*** Performing jlink" jlink --module-path target/modules:target/org.getmonero.i2p.embedded.jar --add-modules org.getmonero.i2p.embedded --launcher router=org.getmonero.i2p.embedded --output target/router --strip-debug --compress 2 --no-header-files --no-man-pages