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, 01 Nov 2016 23:18:30 -0700 Message-ID: <87r36u5rrd.fsf@gmail.com> References: 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]:53447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1osg-0001R2-1P for help-guix@gnu.org; Wed, 02 Nov 2016 02:18:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1osf-0008B6-3T for help-guix@gnu.org; Wed, 02 Nov 2016 02:18:38 -0400 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]:34576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1ose-0008Ax-Sk for help-guix@gnu.org; Wed, 02 Nov 2016 02:18:37 -0400 Received: by mail-pf0-x235.google.com with SMTP id n85so5856310pfi.1 for ; Tue, 01 Nov 2016 23:18:36 -0700 (PDT) In-Reply-To: (Zachary Kanfer's message of "Wed, 2 Nov 2016 00:38:36 -0400") 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 Hi Zachary, Zachary Kanfer writes: > But I started the gradle quickstart guide, and I've started running > into problems. Right now I have $JAVA_HOME set to > /home/zck/.guix-profile/, but I am suspecting that is not right. When > I run `./gradlew clean`, I get the following error: > > zck@zck-laptop:~/code/gradle-test$ ./gradlew clean > Downloading > https://services.gradle.org/distributions/gradle-3.0-bin.zip > > Exception in thread "main" javax.net.ssl.SSLException: > java.lang.RuntimeException: Unexpected error: > java.security.InvalidAlgorithmParameterException: the trustAnchors > parameter must be non-empty > > (further stacktrace elided) Perhaps Java cannot find/access the truststore (or can access it but found nothing in it)? Do you know what trust store is being used? Where is it, and what are its permissions? > Further supporting my suspicion that JAVA_HOME shouldn't be the guix > profile is that I would think either guix or java should manage the > directory, but not both. I think a bigger question here is why do you need to use Gradle directly to build your project? What's stopping you from using Guix to do it? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYGYU4AAoJEN1AmhXYIkadSz0QAMGmU3gU+dsNndrIyE/rFtHD 3oo/QVkYsypFpsjWTsI78jFeaoRPO3KaFHeSkq3vxaRmNU2232Vfz4dKhmtjtKYP Gq1N2jWJXPaz0UJ9kN9ZbjTvJ8ZDyAEB+lWMqHh1xTs2rYodnZ7IFp36I4QpiemF G1nO9cLlA6pUxA9d1Cn2EyQSlHc3ZQ20nEGJq0junIYmD24kxhEG1tvbo+4EAg1Q QkzJBoxO+J3TAL5nhQzNcD+85A1XAjzV2B+wTrLBph45IgoIbWpmxm9jUUTzA9b6 mQWccFtcK5qw7HLifHhqAIMQoBUcusXTe8J5tQfhbUK48OWTPZcW6RBrevkUQ8Gb VzN7Z5VPPHOreYb3n4Tfw0zW0/vZdkPkTjwsKZeEJwpWLrc7cCORpGdvK9PqXoV0 kQzV+5jlicgsvT+wD348PugIcy0nqemt4fa+Gq7dVxSf8FZ6ZstTM1LOArLSFrWc bsmVKlBe8Yn8Mrv2gz19qtAyZaAKrF4ho6qTQ4fCnrV2/pGKLkWPnA0lRPSNtUbi PsuyR/QfxnW4UywLCPB13HleM9JFoRNj5QVJxIaKm+ZQS3YQA/G7l0zMM/nCSuKI J6GklwSzVdQUVtNa4+n5rEfIPhxvTsrQ47tKztR0V1QkrpfTYuUoDdUJyqGtaT9C XQ2bfd4iDXtT+HoMrlT8 =Yjet -----END PGP SIGNATURE----- --=-=-=--