ClojureBox初始化警告

ClojureBox初始化警告,clojure,Clojure,当我运行时,它会给我以下错误 "Warning (initialization): An error occurred while loading `~/.emacs': File error: Searching for program, no such file or directory, java To ensure normal operation, you should investigate and remove the cause of the error in your in

当我运行时,它会给我以下错误

"Warning (initialization): An error occurred while loading `~/.emacs':

File error: Searching for program, no such file or directory, java

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace."

如何解决此问题?

好的Clojure Box是Windows Clojure安装程序。看起来您还没有安装Java。您需要首先从Oracle安装Windows JDK:


你能告诉我们你的
~/.emacs
文件中有什么吗?我正在windows上运行它。我真的不知道“~/.emacs”是什么意思(很抱歉,我没有注意到Clojure Box是Windows安装程序。我已经提供了一个答案,可以解决您的问题。我在Eclipse上遇到了一个问题,所以我卸载了32位JRE+JDK,并重新安装了其中的64位。在这些基础上安装32位JDK可以吗?是否存在冲突?@iamcreasy您可能需要尝试重新启动,因为可能是这样的。)您的windows环境尚未更新,因此您的安装程序无法看到java可执行文件。但在命令行中,java可以从任何地方访问。我想这意味着java可执行文件是在windows环境中设置的。还有一个问题,当我运行ClojureBox时,有一个“Emacs客户端”尝试启动Emacs服务器,但在多次尝试后,显示“等待服务器时出错超时”当我安装了32位JDK时,ClojureBox运行正常,而这个服务器连接错误当时并没有引起任何问题。@iamcreasy这很不幸,必须经过提供ClojureBox的人来运行,因为我对它如何绑定各个组件知之甚少。您可能想看看这个答案:aIt’很高兴看到其他Windows解决方案。