Clojure: Couldn't find 'java'. Please set JAVA_HOME.

  • Open
  • quality assurance status badge
Details
One participant
  • Brennan Vincent
Owner
unassigned
Submitted by
Brennan Vincent
Severity
normal
B
B
Brennan Vincent wrote on 17 Sep 2024 17:02
(address . bug-guix@gnu.org)
87v7yu5nnz.fsf@taipei.mail-host-address-is-not-set
Trying to run clojure in clojure-tools doesn't work:

$ guix shell --pure clojure-tools -- clojure
Couldn't find 'java'. Please set JAVA_HOME.

This comes closer:

$ guix shell --pure clojure-tools openjdk -- clojure
/gnu/store/v11866kb8y4rznf0b45zblvn718spnb6-profile/bin/clojure: line
285: mkdir: command not found

This works:

$ guix shell --pure clojure-tools openjdk coreutils -- clojure

So I guess we need to add openjdk and coreutils to the dependencies of clojure-tools.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73317@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73317
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch