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.

clartaq
  • 5,320
  • 3
  • 39
  • 49

4 Answers4

4

Is the directory you installed Java to on your PATH?

matt b
  • 138,234
  • 66
  • 282
  • 345
1

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
  • 803
  • 11
  • 9
  • 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 Dec 28 '09 at 15:03
1

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

Community
  • 1
  • 1
Nevena
  • 707
  • 1
  • 7
  • 13
0

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.

Jeff the Bear
  • 5,603
  • 3
  • 22
  • 18