I was having issues with the installation of gradle (the groovy DSL
based compilation tool) and I think it relates to gradle assuming you
have version 11 of the jdk installed:

$ sudo apt-get install gradle --dry-run > jdk-11.txt

$ JAVA_HOME="/media/user/078TG33366666/graalvm-ce-java19-22.3.0"
PATH="${JAVA_HOME}/bin:$PATH"

which javac
javac -version

which java
java -version
/media/user/078TG33366666/graalvm-ce-java19-22.3.0/bin/javac
javac 19.0.1
/media/user/078TG33366666/graalvm-ce-java19-22.3.0/bin/java
openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08)
OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build
19.0.1+10-jvmci-22.3-b08, mixed mode, sharing)

$ sudo apt-get install gradle --dry-run > jdk-19.txt

$ diff jdk-11.txt jdk-19.txt
$

$ file jdk-11.txt jdk-19.txt
jdk-11.txt: ASCII text
jdk-19.txt: ASCII text

$ wc -l jdk-11.txt jdk-19.txt
  348 jdk-11.txt
  348 jdk-19.txt
  696 total

$ ls -l jdk-11.txt jdk-19.txt
-rw-r--r-- 1 user user 21405 Mar 28 07:58 jdk-11.txt
-rw-r--r-- 1 user user 21405 Mar 28 07:59 jdk-19.txt

$ sha256sum jdk-11.txt jdk-19.txt
a9f91225693514bfdf4a1079d4a22f9f8086959bd8939b0b592cba042aff689e  jdk-11.txt
a9f91225693514bfdf4a1079d4a22f9f8086959bd8939b0b592cba042aff689e  jdk-19.txt
$

Is there a way to fix that? I am asking the gradle folks as well, but
I am not sure if it is a Debian package maintenance issue.
lbrtchx

Reply via email to