After running
cs install scala
scala stopped working on my computer
Coursier/bin/scala: line 26: /Library/Internet: No such file or directory
Not a surprise because
echo $JAVA_HOME
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
How can I fix the installation?
CodePudding user response:
The escape path for the bashrc in case of spaces is a backslash
export JAVA_HOME='/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
Having the backslash negates the space issue that is shown in the execute in the command earlier. It might probably work in the shell with a double-quote (as opposed to the single-quote) , the slash escape seems to work in most cases though!