Open mkikets99 opened 2 years ago
If you interested: Packr working perfectly even with Java 17
java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
It just this issue that a link file in the archive seems like it is an empty file...
Ok... Final verdict of what causing this: When it is trying to make a copy from tar or zip, it see a file and cannot open it for copy, because it see it as empty file...
when building with official Oracle JDK
archives
There is an errorIt is because Oracle using a symbolic link on LICENSE file and in archive it seems like an empty file, but it is actually linked to
legal/java.base/LICENSE
. When it is unpacked, it is working good.