From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" Date: Thu, 26 Mar 2020 14:39:48 +0100 Message-ID: <9bf49c49ba6cb5627985c12e0867ae5565b5bb98.camel@gnu.org> References: <878sjny39s.fsf@ambrevar.xyz> <87wo77z6ky.fsf@ambrevar.xyz> <87o8sjz3l7.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57455) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHSjr-0001oh-Ip for bug-guix@gnu.org; Thu, 26 Mar 2020 09:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHSjq-0001Bi-N1 for bug-guix@gnu.org; Thu, 26 Mar 2020 09:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHSjq-0001Bc-KB for bug-guix@gnu.org; Thu, 26 Mar 2020 09:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHSjq-0003pL-HT for bug-guix@gnu.org; Thu, 26 Mar 2020 09:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o8sjz3l7.fsf@ambrevar.xyz> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Pierre Neidhardt , 40234@debbugs.gnu.org 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"))))) > > 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. Kind regards, Roel Janssen