Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Install Execution failed for task ':proto:compileJava'. > Java compiler is not available. #1384

Open
illspirit opened this issue Nov 4, 2024 · 1 comment

Comments

@illspirit
Copy link

Trying to install on arch linux with yay -S haveno. Confirmed java is installed properly

==> Starting build()...
> Task :proto:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':proto:compileJava'.
> Java compiler is not available. Please check that /usr/lib/jvm/java-17-openjdk contains a valid JDK installation.

* 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.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.


@woodser
Copy link
Contributor

woodser commented Nov 4, 2024

It's using JDK 17 when 21 is required from the instructions: https://github.com/haveno-dex/haveno/blob/master/docs/installing.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants