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+unsubscr...@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.

Reply via email to