From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: After installing Java, what should I set JAVA_HOME to? Date: Thu, 01 Dec 2016 14:07:37 +0100 Message-ID: <87zikfdch2.fsf@elephly.net> References: <4e5ee794-1d1a-c433-d72f-7eb4e113a60b@edno.moe> <87mvggxugq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCR5e-0001hP-Il for help-guix@gnu.org; Thu, 01 Dec 2016 08:07:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCR5Z-0002EE-OR for help-guix@gnu.org; Thu, 01 Dec 2016 08:07:54 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21447) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCR5Z-0002Cl-G4 for help-guix@gnu.org; Thu, 01 Dec 2016 08:07:49 -0500 In-reply-to: <87mvggxugq.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix@gnu.org Chris Marusich writes: > Radoslav Petrov writes: > >> About a proper fix: IMO iced3 JDK Guix definition needs to process >> "java.security" file for the SunPKCS11 provider to override the >> JAVA_HOME definition with the file in the current version/dir/instance >> of the Guix package (I'm not sure for the correct term). But this have >> to be done on each update/upgrade of NSS package. So I'm not so sure >> about the proper way to fix this packaging problem. > > This sounds right to me. If I'm hearing you correctly, there is a > configuration file in the output of the icedtea package which needs to > be updated whenever the nss package is updated. I believe the correct > way to accomplish that is to use "static composition" or "late static > composition" [1]. I'm sure a convenient mechanism for this exists in > Guix, but since I haven't done it myself, I'm not sure of the details. > > [1] See section 7.1.1 in Eelco Dolstra's thesis: > http://nixos.org/%7Eeelco/pubs/phd-thesis.pdf We are already genarting the keystore for IcedTea. It just fails for IcedTea 3, which is why it’s disabled there. IcedTea 2 should work just fine. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net