Closed Ledmington closed 1 week ago
Looks as if gradle is throwing a tantrum and downloading the wrong JDK (Zing somehow doesn't work on a few linux desktops - instead segfaulting immediately). I'd nuke the /root/.gradle/jdks/zing20/
folder and manually install a Java 20 and Java 7 JDK, ensuring that it is discovered by gradle without it having to try to automatically install it (that is, by installing into the /usr/lib/jvm/
folder).
Repeat this process for all other java versions that fail to compile.
Gradle itself needs to be run with a Java 11+ JDK from the looks of it, so the first error is unavoidable.
I've managed to make it work by downloading zulu 7 manually (I could not find any "zing jdk" online other than Azul Zulu).
The zing version mentioned is an edition of azul zulu - I believe it's more for corporate use? Regardless it's broken on linux so there is no point in using it. Someone should probably report that to foojay, but complaining about it is a bit easier than actually filing the bug report only to be met by the obligatory "lol, just use Java 28"
Thank you for the help. Maybe it would be beneficial for new users to mention this issue in a "Build from source" section.
Hi, first of all, really nice project!
I tried building it with various java versions but couldn't arrive at the end of the build with any of them. I am using gradle 8.8 and I tried running
./gradlew build
.With java 8 (temurin 8.0.412), I got this error:
With java 11 (temurin 11.0.23), 17 (temurin 17.0.11) and 21 (temurin 21.0.3) I got this error:
Am I doing something wrong?