Nasty workaround for nasty native library loading problems because of nasty limitatio...
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 13 Mar 2021 03:35:47 +0000 (05:35 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 13 Mar 2021 03:35:47 +0000 (05:35 +0200)
install
lib/webp-imageio-0.1.6.jar [new file with mode: 0644]
meviz

diff --git a/install b/install
index 6dc8f7f..52c24a7 100755 (executable)
--- a/install
+++ b/install
@@ -8,5 +8,6 @@ mvn package
 sudo mkdir /opt/meviz
 sudo rm /opt/meviz/meviz.jar
 sudo cp target/meviz-*-jar-with-dependencies.jar /opt/meviz/meviz.jar
+sudo cp lib/webp-imageio-0.1.6.jar /opt/meviz/web-imageio.jar
 sudo cp meviz /opt/meviz/
 sudo ln -s /opt/meviz/meviz /usr/bin/
diff --git a/lib/webp-imageio-0.1.6.jar b/lib/webp-imageio-0.1.6.jar
new file mode 100644 (file)
index 0000000..c04f237
Binary files /dev/null and b/lib/webp-imageio-0.1.6.jar differ
diff --git a/meviz b/meviz
index 9cc6779..015b9bc 100755 (executable)
--- a/meviz
+++ b/meviz
@@ -2,4 +2,5 @@
 
 set -f
 
-java -Xmx4500m -jar /opt/meviz/meviz.jar "$@"
+java -Xmx4500m -classpath /opt/meviz/* eu.svjatoslav.meviz.Main "$@"
+