Subject: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar"

From: Pierre Neidhardt <[email-masked]>
Date: Thu, 26 Mar 2020 08:38:23 +0100

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?

-- 
Pierre Neidhardt
https://ambrevar.xyz/