We have problems using the JavaExec DOWNLOAD option to download the JRE on Linux x64, Windows x64 is working fine.
After investigating the issue, we think hat the download URL for the Linux x64 JRE ist not correct:
new tableEntry { version = "11", os = "Linux x64", link = "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11ar.0.26%2B4/OpenJDK11U-jre_x64_linux_hotspot_11.0.26_4.tar.gz", outdir = "jdk-11.0.26+4-jre" }
The jdk-11ar.0.26 part seems to be unnecessary.
Source Code Reference: https://github.com/kaby76/Antlr4BuildTasks/blob/12.9/Antlr4BuildTasks/Tasks/RunAntlrTool.cs#L45
The link should be: https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jre_x64_linux_hotspot_11.0.26_4.tar.gz
Build Error:
/root/.nuget/packages/antlr4buildtasks/12.9.0/build/Antlr4BuildTasks.targets(138,9): error ANT02:
Cannot find Java executable'' at Antlr4.Build.Tasks.RunAntlrTool.SetupJava()
at Antlr4.Build.Tasks.RunAntlrTool.Execute()
We have problems using the JavaExec
DOWNLOADoption to download the JRE on Linux x64, Windows x64 is working fine.After investigating the issue, we think hat the download URL for the Linux x64 JRE ist not correct:
new tableEntry { version = "11", os = "Linux x64", link = "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11ar.0.26%2B4/OpenJDK11U-jre_x64_linux_hotspot_11.0.26_4.tar.gz", outdir = "jdk-11.0.26+4-jre" }The jdk-11ar.0.26 part seems to be unnecessary.
Source Code Reference: https://github.com/kaby76/Antlr4BuildTasks/blob/12.9/Antlr4BuildTasks/Tasks/RunAntlrTool.cs#L45
The link should be: https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.26%2B4/OpenJDK11U-jre_x64_linux_hotspot_11.0.26_4.tar.gz
Build Error: