From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: OpenJDK support Date: Mon, 8 Feb 2016 14:57:40 +0100 Message-ID: <20160208135740.GA27375@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSmKo-0007pU-Sn for guix-devel@gnu.org; Mon, 08 Feb 2016 08:58:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSmKl-0008OE-Lr for guix-devel@gnu.org; Mon, 08 Feb 2016 08:58:34 -0500 Received: from mail.thebird.nl ([95.154.246.10]:37742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSmKl-0008NL-Gl for guix-devel@gnu.org; Mon, 08 Feb 2016 08:58:31 -0500 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org To support the JVM we'll need to add the openjdk. Having a look at it I think it is doable. Only problem is that the java compiler needs to be bootstrapped with itself. In Nix they create a binary blob to bootstrap: let # !!! These should be on nixos.org src = if glibc.system == "x86_64-linux" then fetchurl { url = http://tarballs.nixos.org/openjdk-bootstrap-x86_64-linux-2012-08-2 4.tar.xz; sha256 = "0gla9dxrfq2w1hvgsnn8jg8a60k27im6z43a6iidi0qmwa0wah32"; } else if glibc.system == "i686-linux" then fetchurl { url = http://tarballs.nixos.org/openjdk-bootstrap-i686-linux-2012-08-24. tar.xz; sha256 = "184wq212bycwbbq4ix8cc6jwjxkrqw9b01zb86q95kqpa8zy5206"; } else throw "No bootstrap for system"; in How do we go about this one? Pj.