[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: After installing Java, what should I set JAVA_HOME to?

From: Chris Marusich
Subject: Re: After installing Java, what should I set JAVA_HOME to?
Date: Tue, 01 Nov 2016 23:18:30 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi Zachary,

Zachary Kanfer <address@hidden> 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:
> address@hidden:~/code/gradle-test$ ./gradlew clean
> Downloading
> Exception in thread "main"
> java.lang.RuntimeException: Unexpected error:
> 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?


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]