diff --git a/deadlock-plugins/java/install.sh b/deadlock-plugins/java/install.sh
index 67effd310f3994c29851cae97b21aaa06c22cb7b..57e5129e644eb5cea3170c0166a64d3999feaabe 100755
--- a/deadlock-plugins/java/install.sh
+++ b/deadlock-plugins/java/install.sh
@@ -12,7 +12,7 @@ if [ -d "$NAME-$VERSION" ]; then
 else
     echo "Download $NAME-$VERSION sources"
     echo
-    curl -fSL https://github.com/microsoft/vscode-java-pack/archive/refs/tags/v$VERSION.tar.gz | tar -C ./ -xzs 
+    curl -fSL https://github.com/microsoft/vscode-java-pack/archive/refs/tags/v$VERSION.tar.gz | tar -C ./ -xz
 
     echo
     echo "Download done"