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 09:59:32 +0100 Message-ID: <874m2odnyj.fsf@elephly.net> References: <87r36u5rrd.fsf@gmail.com> <87y40tjfvp.fsf@gmail.com> <8760n82dte.fsf@elephly.net> <20c1854d-01a1-b6d1-5690-6265e02e513f@edno.moe> 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]:39823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCNDW-00012W-Cv for help-guix@gnu.org; Thu, 01 Dec 2016 03:59:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCNDT-0003bf-SP for help-guix@gnu.org; Thu, 01 Dec 2016 03:59:46 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCNDT-0003Zo-Ku for help-guix@gnu.org; Thu, 01 Dec 2016 03:59:43 -0500 In-reply-to: <20c1854d-01a1-b6d1-5690-6265e02e513f@edno.moe> 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: zloster Cc: help-guix@gnu.org, Zachary Kanfer zloster writes: > There is icedtea-3.1.0 That’s the problem: icedtea 3.1.0 cannot build the keystore, which is why this build phase has been removed. IcedTea (the free software build system for OpenJDK) doesn’t come with a keystore by default and doesn’t try to generate it, so what we do in Guix is to add a build phase in which a “cacerts” file is built from the NSS certificate store and saved to “$jdk/jre/lib/security” and “$jre/lib/security”. For 3.1.0 this phase fails for unknown reasons, so I removed it. This means that 3.1.0 doesn’t have SSL support out of the box. The two previous versions however do, so if you want to avoid custom hacks I encourage you to install 2.6.7: guix package -i icedtea@2.6 -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net