Package: openjdk-17-jdk
Version: 17.0.6+10-1
Severity: minor
X-Debbugs-Cc: n...@iname.com

Dear Maintainer,

when using javatoolchain in build.gradle.kts (or build .gradle), Gradle
compaints about /usr/lib/jvm/openjdk-17:

Invalid Java installation found at '/usr/lib/jvm/openjdk-17' (Common Linux
Locations). It will be re-checked in the next build. This might have
performance impact if it keeps failing. Run the 'javaToolchains' task for more
details.

The snippet in build.gradle.kts triggering this error message is:

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
    }
}

Perhaps we can change the directory name (or move it to another place) to avoid
this?


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openjdk-17-jdk depends on:
ii  libc6                    2.36-8
ii  openjdk-17-jdk-headless  17.0.6+10-1
ii  openjdk-17-jre           17.0.6+10-1

Versions of packages openjdk-17-jdk recommends:
ii  libxt-dev  1:1.2.1-1

Versions of packages openjdk-17-jdk suggests:
pn  openjdk-17-demo    <none>
pn  openjdk-17-source  <none>
pn  visualvm           <none>

-- no debconf information

Reply via email to