You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cur...@googlegroups.com
I (intentionally) have no java on the PATH these days; many JDKs
installed and I want to control what gets run in which, mostly to avoid
upgrade surprises when some SDK manager defaults to one or the other at
various times.
Cursive seems to have problems creating new deps projects that way - it
doesn't use the SDK selected for the project in IDEA but just emits:
2021-06-05 22:57:46,257 [ 381854] WARN - #cursive.deps.DepsSettings -
Output from /usr/local/bin/clojure -Sdescribe: Couldn't find 'java'.
Please set JAVA_HOME.
Is there a way to make it use project SDK, or to set JAVA_HOME
specifically for it, or do I have to have some Java binary on the path
again?
Colin Fleming
unread,
Jun 7, 2021, 3:09:45 AM6/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cursive Group
Hmm, yes, Cursive doesn't do this at the moment (set JAVA_HOME to the project SDK) when running -Sdescribe, but it probably should. I've filed https://github.com/cursive-ide/cursive/issues/2561. In the meantime, I think you'll probably have to set JAVA_HOME for the IntelliJ process, at least, so that the subshell will pick that up.