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

2020-03-26 Thread Roel Janssen
On Thu, 2020-03-26 at 13:46 +0100, Pierre Neidhardt wrote: > It worked! Thanks a lot! > > So what do you think of adding > > (native-search-paths (list (search-path-specification > (variable "JAVA_HOME") > (files '("jre") > > t

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

2020-03-26 Thread Roel Janssen
On Thu, 2020-03-26 at 12:41 +0100, Pierre Neidhardt wrote: > Roel Janssen writes: > > > 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. > > Thanks, this is probably related

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

2020-03-26 Thread Pierre Neidhardt
By the way, should JAVA_HOME be a native-search-path set by the JDKs? -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

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

2020-03-26 Thread Roel Janssen
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--- > Execu

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

2020-03-26 Thread Pierre Neidhardt
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<-