GNU bug report logs -
#40234
[java-iroha] Gradle fails with "Could not find tools.jar"
Previous Next
Full log
Message #8 received at 40234 <at> debbugs.gnu.org (full text, mbox):
On Thu, 2020-03-26 at 08:38 +0100, Pierre Neidhardt wrote:
> Hi!
>
> I'm trying to build https://github.com/hyperledger/iroha-java manually
> with Gradle (tried with Guix but I'm stuck), and I get the following
> error:
>
> --8<---------------cut here---------------start------------->8---
> Execution failed for task ':client:compileJava'.
> Could not find tools.jar.
> --8<---------------cut here---------------end--------------->8---
>
> Then it suggests that the Java installation might be wrong.
> I tried with icedtea 3.7.0, openjdk 9 and openjdk 12, to no avail.
>
> Are our JDK packages wrong missing some jars?
>
The "tools.jar" is only in de icedtea:jdk output.
You might also need to set environment variable JAVA_HOME to the Guix profile
root that contains icedtea:jdk.
Kind regards,
Roel Janssen
This bug report was last modified 5 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.