Hi,

I am running Windows98, emacs20.4, and the latest cygnus win32 tools.

I am sure that binaries for java and the cygnus tools is on my PATH var,
but emacs is unable to run bash as my shell.

When I try to compile a java source file using JDE-->compile I get:
    cd c:/acs/schedule/
    javac ObjectList.java
in the split screen and
    Searching for program: no such file or directory, bash
in the command window.

I have attached my .emacs file; it is just the minimal file with the
browser stuff removed.

Can anyone help me set the vars so emacs can find them?
;; This .emacs file illustrates the minimul setup
;; required to run the JDE.

;; Update the Emacs load-path to include the path to
;; the JDE. This code assumes that you have installed
;; the JDE in the specified subdirectory of your home
;; directory.
(setq load-path
      (nconc
       '(
         "~/site-lisp/jde-2.1.5"
         )
       load-path))

;; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)

;; Sets the basic indentation for Java source files
;; to two spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 2))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

;; Include the following only if you want to run
;; bash as your shell.

;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.

Reply via email to