Hi everyone ! I'm trying to install nextflow manua...
# community-support
r
Hi everyone ! I'm trying to install nextflow manually from a Github Repo (with git clone). When the repo is cloned, I need to use make install in it but I have a Gradle error, I wanted to know if someone could help me:
Copy code
(base) rayan@tesseract:~/bin_rayan/nextflow$ make install
BUILD_PACK=1 ./gradlew installLauncher publishToMavenLocal -Dmaven.repo.local=/home/rayan/.nextflow/capsule/deps/
Downloading <https://services.gradle.org/distributions/gradle-8.10.2-bin.zip>
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%

Welcome to Gradle 8.10.2!

Here are the highlights of this release:
 - Support for Java 23
 - Faster configuration cache
 - Better configuration cache reports

For more details see <https://docs.gradle.org/8.10.2/release-notes.html>

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':buildSrc:buildScriptClasspath'.
> Could not resolve project :buildSrc.
  Required by:
      project :buildSrc
   > Failed to calculate the value of task ':buildSrc:compileJava' property 'javaCompiler'.
      > Toolchain installation '/usr/lib/jvm/java-11-openjdk-amd64' does not provide the required capabilities: [JAVA_COMPILER]

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to <https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.

BUILD FAILED in 17s
make: *** [Makefile:55: install] Error 1
I can't use scan as it's not directly a Gradle command, Thanks in advance for your help!
v
You only have a JRE installed at
/usr/lib/jvm/java-11-openjdk-amd64
, but Gradle needs a JDK.