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: Mon, 28 Nov 2016 09:45:01 +0100 Message-ID: <8760n82dte.fsf@elephly.net> References: <87r36u5rrd.fsf@gmail.com> <87y40tjfvp.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]:55937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBHYu-0003bZ-0A for help-guix@gnu.org; Mon, 28 Nov 2016 03:45:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBHYq-0006Ak-Ue for help-guix@gnu.org; Mon, 28 Nov 2016 03:45:20 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBHYq-00067m-Ln for help-guix@gnu.org; Mon, 28 Nov 2016 03:45:16 -0500 In-reply-to: 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: Zachary Kanfer Cc: help-guix@gnu.org Zachary Kanfer writes: > I want Guix to be widely adopted, because I think it's a really cool piece > of software that deserves more support. To that end, I want to write about > how high switching costs "use Guix for everything" has, and how much I > think Guix adoption will be harmed by this advice. Java is a bit of a special case for Guix. We build *everything* from source and that’s something the Java world seems to have agreed not to do. This means that there aren’t many Java packages in Guix at this point and getting Java stuff to work is messy. Right now I would not use Guix to develop Java things (I’m saying this as the person who packaged the OpenJDK and various Java libraries for Guix). It takes a lot of effort to bootstrap Maven from source and I don’t know of any other distribution that has even attempted to do this. (Maven relies on Maven and usually comes with a bootstrapped binary to facilitate building Maven.) That said, I had no problems *using* the Java toolchain for compiling Java code or for running pre-compiled code from third-party jars. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net