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

From: Pierre Neidhardt <[email-masked]>
Date: Thu, 02 Apr 2020 09:25:17 +0200

Roel Janssen <[email-masked]> writes:

>> So what do you think of adding
>> 
>> (native-search-paths (list (search-path-specification
>>                                 (variable "JAVA_HOME")
>>                                 (files '("jre")))))
>> 
>> to icedtea-* and openjdk-*?
>> 
>
> I'm not sure if JAVA_HOME is only needed to build things (so only for the JDK),
> or whether it's also useful for JRE.
>
> I agree that it would be good to set when the JDK variant is installed.

Is it possible to set the search-path only for a given output?

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