I am suddenly experiencing the same issue. I have OpenJDK installed. It seems to be related to these two lines added to the build.gradle file three days ago:
vendor = JvmVendorSpec.matching(project.jvmVendor) implementation = JvmImplementation.VENDOR_SPECIFIC If I comment them out, I can build it just fine. Very bizarre. Emmett. On Wednesday, July 31, 2024 at 9:17:09 AM UTC-4 wouldsmina wrote: > However, I have installed jdk from > https://www.oracle.com/fr/java/technologies/downloads/#java21. > > javac command exist : > # javac --version > javac 21.0.4 > > on my CAS server v6 in production (debian 11), the java --version command > returns almost the same thing: > # java --version > openjdk 11.0.23 2024-04-16 > OpenJDK Runtime Environment (build 11.0.23+9-post-Debian-1deb11u1) > OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Debian-1deb11u1, mixed > mode, sharing) > > Wouldsmina. > > Le mer. 31 juil. 2024 à 14:50, Dmitriy Kopylenko <dkopy...@unicon.net> a > écrit : > >> You have JRE. You need to install JDK (which includes javac compiler) >> >> D. >> >> On Wed, Jul 31, 2024 at 08:20 wouldsmina <would...@gmail.com> wrote: >> >>> Hello Ray, >>> >>> $ java --version >>> >>> java 21.0.4 2024-07-16 LTS >>> Java(TM) SE Runtime Environment (build 21.0.4+8-LTS-274) >>> Java HotSpot(TM) 64-Bit Server VM (build 21.0.4+8-LTS-274, mixed mode, >>> sharing) >>> >>> I already set JAVA_HOME to /usr/lib/jvm/jdk-21.0.4-oracle-x64/ >>> >>> wouldsmina. >>> >>> Le mer. 31 juil. 2024 à 04:57, Ray Bon <rb...@uvic.ca> a écrit : >>> >>>> Wouldsmina, >>>> >>>> What do you get for >>>> $ java -version >>>> >>>> You could set JAVA_HOME to point to your jdk21 install location. >>>> >>>> Ray >>>> >>>> On Tue, 2024-07-30 at 17:15 +0200, wouldsmina wrote: >>>> >>>> Hello, >>>> >>>> I am trying to install CAS 7.0 or 7.1 on Debian 12. I have installed >>>> Java 21 from the package provided here: >>>> https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb >>>> >>>> and Tomcat 10 from the Debian repository. >>>> >>>> When I build, I get the following error: >>>> >>>> FAILURE: Build failed with an exception. >>>> >>>> * What went wrong: >>>> Could not determine the dependencies of task ':bootWar'. >>>> > Could not resolve all dependencies for configuration >>>> ':runtimeClasspath'. >>>> > Failed to calculate the value of task ':compileJava' property >>>> 'javaCompiler'. >>>> > Cannot find a Java installation on your machine matching this >>>> tasks requirements: {languageVersion=21, vendor=matching('AMAZON'), >>>> implementation=vendor-specific} for LINUX on x86_64. >>>> > No matching toolchain could be found in the locally >>>> installed toolchains or the configured toolchain download repositories. >>>> >>>> Did I use the wrong version of Java or tomcat? >>>> >>>> Wouldsmina. >>>> >>>> >>>> -- >>>> - Website: https://apereo.github.io/cas >>>> - List Guidelines: https://goo.gl/1VRrw7 >>>> - Contributions: https://goo.gl/mh7qDG >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "CAS Community" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to cas-user+u...@apereo.org. >>>> To view this discussion on the web visit >>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ffc455421fd7e0a56cff2c4907cf39b44828fe8f.camel%40uvic.ca >>>> >>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ffc455421fd7e0a56cff2c4907cf39b44828fe8f.camel%40uvic.ca?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> - Website: https://apereo.github.io/cas >>> - List Guidelines: https://goo.gl/1VRrw7 >>> - Contributions: https://goo.gl/mh7qDG >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "CAS Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to cas-user+u...@apereo.org. >>> To view this discussion on the web visit >>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAH2NqNa%2BcddqRxdpdL3_kpvoi-gRnxtG07Q8fUrUjYJh%2BwLZDQ%40mail.gmail.com >>> >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAH2NqNa%2BcddqRxdpdL3_kpvoi-gRnxtG07Q8fUrUjYJh%2BwLZDQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> - Website: https://apereo.github.io/cas >> - List Guidelines: https://goo.gl/1VRrw7 >> - Contributions: https://goo.gl/mh7qDG >> --- >> You received this message because you are subscribed to the Google Groups >> "CAS Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to cas-user+u...@apereo.org. >> > To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMpiYKh4TNGaJ73RF_pW3kCSbbaYck0QQsvkCPOij4dR8oQGkQ%40mail.gmail.com >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMpiYKh4TNGaJ73RF_pW3kCSbbaYck0QQsvkCPOij4dR8oQGkQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/07479e5f-8336-4c89-aa16-2e766a66c1d7n%40apereo.org.