Question

Has anyone had a problem running Clojure Box in Windows 7?

I am trying to run a fresh install of Clojure Box on a fresh install of Windows 7 Professional (64 bit). Java version on system is 1.6.0_16.

emacs starts up but produces the following error messages:

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

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

As a newbie at emacs, slime, swank, paredit, Clojure and Clojure Box, I'm not even sure where to start. I can't even find `~/.emacs'

Thanks for any help you can provide.

Was it helpful?

Solution

Is the directory you installed Java to on your PATH?

OTHER TIPS

I also got the same error by not having Java installed at all prior to installing Clojure Box. It'd be nice if the installer checked for Java's presence and PATH-belonging. Once Java was installed, Clojure Box was working correctly.

You may create .emacs file yourself. See this answer.

One gotcha is that there is a emulation of the 32 bit process on the 64 bit version of Windows so you need to add java files to C:\Windows\SysWOW64 even if you have it in C:\Windows\System32 folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top