From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: After installing Java, what should I set JAVA_HOME to? Date: Tue, 08 Nov 2016 23:01:46 -0800 Message-ID: <87y40tjfvp.fsf@gmail.com> References: <87r36u5rrd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4MtM-0007O8-IV for help-guix@gnu.org; Wed, 09 Nov 2016 02:01:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4MtL-0002pK-LC for help-guix@gnu.org; Wed, 09 Nov 2016 02:01:52 -0500 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:33644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4MtL-0002nd-Fz for help-guix@gnu.org; Wed, 09 Nov 2016 02:01:51 -0500 Received: by mail-pf0-x236.google.com with SMTP id d2so122307442pfd.0 for ; Tue, 08 Nov 2016 23:01:51 -0800 (PST) In-Reply-To: (Zachary Kanfer's message of "Mon, 7 Nov 2016 23:20:54 -0500") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Zachary Kanfer writes: > I don't want to use Guix to build my project because I'm developing > it. So, for example, I want to run tests often, and that uses > Gradle. I want to integrate a build into my editor. I want to make a > Guix manifest that can set up a machine for other people to use, and > they don't want to use Guix for day-to-day development. I see. I know that some people have been using Guix for local development [1] [2], so I thought that maybe you could use Guix for local development in this case, too. If it isn't possible, then I wonder what we would need to change or add to make it possible? > So when using Guix, what should $JAVA_HOME be set to? Has anyone else don= e a Java setup using Guix? I haven't tried local Java development with Guix, so I don't know much about how it ought to be done. There don't seem to be many Java packages in Guix yet, so I suspect a lot of machinery that we need might not be there. I tried installing java-junit in a temporary profile with 'guix package =2Dp test-profile -i java-junit', and 'guix package -p test-profile =2D-search-paths' doesn't recommend any search paths... It seems that it just installed a JAR file, so the way you'd set up the CLASSPATH for local development seems unclear to me. In your case, I don't really know what you'd want to set JAVA_HOME to, either, if anything. Anyway, in the meantime, I hope you can figure out how to get Gradle working with the Guix-installed Java. If you do, please let me know; I'm interested in learning more about how one would do Java development with Guix. [1] https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00736.html [2] https://lists.gnu.org/archive/html/guix-devel/2016-07/msg01738.html =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYIsnaAAoJEN1AmhXYIkadO6sQAMN8LA3eAC7A+K74x+UaaT9Z AMy4q4bHd2P8BYWhk5/rCSV6WG1POTcBxZLvAfUjhoIsio+bK4os2DVAYJ7kR+w7 YTDis9PK1UGm+83veEPOvXG6SJQJAC/Olj8a+9lNjLzT2QSVQdTkqM2uGHuh1O6q hfdhk5L8267eUnLu63GGzG91TQ8xalUJjPRY6gRamZlxMbs8dWs3/Oc2EcvJ61hq ofFP8iTzLvsgNO/W6Ax0OY6ZaUfQg3DM0aCcKX/UBKVYVvgQE9zHY9i0fGHj3C3Y yIjaHjK+rAMQtJf9g6UdkVbWOpIKibJCljdG6Yq9rOHNOmweSNY1jMla39v4o+bk kllPF5fN4/ekQYPDiXJEFQdpNWt3haHlFoD/io66w4vB9L9FGyBOqC+b7iSHH2CZ MIWwt8cWSsoxWIYtDMTv6FT9WhZoxBvlL7yM6mPav7wWEpX06t1nTGRI1RDGD75g hc0dUZEG86YYEq8I1zrG9c/FT2K7mNCfYWj+NC4FXOwen0xMZRq+i8A+rewQH39e YwSBJyup6g3Ykm58ONBwiov3+MsM9bPn8ZTl+H6ZKS8aq8fl3qp1WTlb+D0hfETo 8pTPS9lv5ctR1yeJAbDyp7gWFy0c8exHy2EFhmt0yxZ1xvemYOXvRjIb/MXi5JB0 CtsVSguWPTKJveuSSiiN =R+1B -----END PGP SIGNATURE----- --=-=-=--