I get the following error when trying to start ENSIME on OSX through Emacs
Error running ensime-source-buffer-loaded-hook
I am following the instructions from the github source page
sbt
plugin is installed and I have a .ensime
config file generatedStarting Emacs gives me the above error. When I manually try M-x ensime
I get the following:
Failed to connect to Swank: server process exited.
Okay, here's how I solved it:
Locate the ensime
folder and run bin/server /tmp/ensime.port
.
I got the error:
java -classpath ... org.ensime.server.Server ./port
Unrecognized VM option '+DoEscapeAnalysis'
Could not create the Java virtual machine.
I have no idea what DoEscapeAnalysis
is for, but I tried deleting it from bin/server
and now everything seems to work.
See here: https://gist.github.com/2300737