tags:

views:

273

answers:

2

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.

+2  A: 

Is the directory you installed Java to on your PATH?

matt b
No. Thanks for a civil answer to a dumb question.
clartaq
+1  A: 

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.

Alex Beynenson
Thanks for the comment Alex. Yup, one more thing to check for. In addition to checking for these things on my own when I install new programs, they are things I can add to the installers I build for the programs I write too.
clartaq