Closed abhi18av closed 7 years ago
I've tried out the suggestions in #30 without any success.
On the one hand I can be smug – it works for me. On the other hand we need to make it work for you.
The problem with the error message No such file or directory
it is not clear which file is being sought. If groovysh is on you PATH then perhaps the problem is that the file inf-groovy.el is not in the same directory as groovy-mode.el?
No, that's not the case since it's all in the ~/.emacs.d/elpa/groovy-mode/
so that's not an issue. Still, I do notice that when the inferior-groovy
shell pops up, it's initial directory is in emacs(?) which is something new for me. Normally, the directory path is set to the current directory
The only file path I can see with a quick look is the path to groovy and groovysh. The assumption is $GROOVY_HOME/bin/{groovy,groovysh} (with a .bat extension on Windows).
Yeah, but do I still need to set it explicitly even if the groovysh
command works. Please let me know if there's some shell-magic involved :)
Okay, so I've made some progress. I just reinstalled groovy
using sdkman
and this time echo $GROOVY_HOME
does print out the home directory.
But, the the problem is still the same in emacs inferior groovy shell
. What's your say @russel ?
We have changed the Groovy mode from being a CC-Mode derived one to being a standalone one. We are therefore closing all issues relating to the old mode. If you try the new mode and see any problems please post a new issue.
Hi @russel
I wish to use the
groovy-mode
and I've installed it from MELPA via package manager. Syntax-highlight etc are working fine but when I dorun-groovy
command theinferior groovy
buffer opens up and throws the errorNo such file or directory
I've have checked that the
groovysh
etc commands are working fine. I usedbrew install groovy
for the installation. Is this a path config error, how to correct it?