can't run emacs ensime on Windows -


When I hit MX and type 'anamme' I get an error

  ` Flet 'is an obsolete macro (as 24.3); Either use 'cl-flet' or 'cl-letf' when I needed 'in AMACS', he told me something else:  
  debugger has been entered: < / Code> - Error error: (incorrect-type-argument array zero) file-truman (zero) (two (java (file-trunam (executable- "javac")) (warning "JDK_HOME and JAVA_HOME are not set, (% - "Java") (Originally - original-dir (parent - parent Java) (Seed (getenv "JDK_HOME")) ((getenv "JAVA_HOME")) ((file-exist-p "/ Usr / libexec / java_home") (s-chomp (shell-command-to-sp "Warning" JDKHOME and JAVAHOHOM are not set,% "(/ usr / libexec / java_home")) ((c) (run (java (file-truncheme-find) "java")) S (getenv "JDK_HOME")) ((getenv "JAVA_HOME")) ((file-present- P "/ usr / libexec / java_home") (S-Champ (shell-command-to-string "/ usr / libexec / java_home")) ((citation T) ((Java (file trunem (executable-search " Javac ")))) (warning" JDK_Home and JavaOm set Only "java" (original - parent-dir (parent - parent java)))) custom-initialization-reset (basic-java-home (cond (getenv "JDK_HOME" "(Getenv" JAVA_HOME ") ((file-present-p" / usr / libexec / java_home ") (S-Champ (shell-command-to-string" / usr / libexec / java_home "))) (Warns "jdk_home and java is not set to host, connecting to% s" java) (ensem - parent- (java (file-trunam (executable-search "javac")) Dir (ensime Custom-Delayer-Variable (Anime-default-Java- (Getenv "JDK_HOME")) ((getenv "JAVA_HOME")) ((file-present-P) "/ Usr / libexec / java_home") (s-chomp (shell-command-to-string "/ Usr / libexec / java_home ") (run (java (file-trunam (find-executable)" java "))) (warning" jdk_home and java is not set to host,% s "Junk" (example - parent-dir (record-parent-oriented java))) "Location directory of JDK base": type string: group nem-server) eval-buffer (# & lt; Buffer * load * -216581 & gt; Zero "C: /Users / LOKR_000 / AppData / Roaming / .emacs.d / elpa / ensime-20141007.246 / ensime-vars.el" zero t); Reading buffer status in 2344 load-of-code-conversion ("c: /Users/leokr_000/AppData/Roaming/.emacs.d/elpa/ensime-20141007.246/ensime-vars.el" "c: / user / leocR_000 / AppData / Roaming / .emacs.d / elpa / ensime-20141007.246 / ensime-vars.el "zero t" is required (Ennim -Wars) Aval buffer (# & lt; buffer * load * -524611 & gt; Zero "c: / user /leokr_000/AppData/Roaming/.emacs.d/elpa/ensime-20141007.246/ensime.el" zero t); Reading in buffer position 1766 Weight-of-code-conversion ("c: /Users/leokr_000/AppData/Roaming/.emacs.d/elpa/ensime-20141007.246/ensime.el" "c: / user / leokr_000 / AppData / Roaming / .emacs.d / elpa / ensime-20141007.246 / ensime.el "zero t) is required (anamam) eval-buffer (# & lt; buffer * load * & gt; zero" c: / user / leokr_000 / AppData / roaming / _emacs "zero t); Load ("c: / user / lecr_000 / appadata / roaming / _emacs" "c: / users / leokr_000 / appdata / roaming / _emacs" tt) load ("~ / _emacs" TT) # [0 "\ 205 \ 262   

This" _emacs "file was actually copied from here, running Windows 8.1 and emacs 24.3.

Obviously, Emacs can not find their javac executable. > Javac is (or javac.exe for your platform Ho) Somewhere else it is listed in somewhere exec-path . Detailed Description:

  entered debugger - Lisp error: ( Wrong-type-logic array is zero)   

It states that the code tries to deal with zero as if it is an array (a string is also an array.)

  file-truename (void)   

It says that it is with file-truename argument zero , and In fact, file-truename takes a file name (a String) is in the form of logic, hence the zero is not a valid argument for it.

  ((Java (file truman (executable-search "javac")))   

It says that while evaluating this code That's where we see that the RG is actually the value (executable-search "javac") for file truename and this expression is either javac should return the full filename (as found in exec-path ), or if it can not be found, then zero.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -