> Hi
>
> Why isn't my code completion (C-c C-v C-.) working?
>
> I have set classpath to . (jde-global-classpath .)
>
> When I try to complete a method or variable emacs says:
>
> Process bsh is not running
>
> Then I run bsh (under emacs) manually:
>
> cd /home/rhursti/java/harjoitukset/harjoitus1/
> java -classpath
> /home/rhursti/emacs/jde-2.2.4/java/bsh-commands:/home/rhursti/emacs/jde-2.
> 2.4/java/lib/jde.jar:/home/rhursti/emacs/jde-2.2.4/java/lib/bsh.jar:.
> bsh.Interpreter
>
> Couldn't find or load essential class `java/lang/Object'
> java.lang.NoClassDefFoundError java/lang/Object
>
> Process bsh aborted
>
> My environment is:
>
> Linux debian 2.2.17
> jdk 1.2.2
> jde 2.2.4
> emacs 20.7.2
> semantic 1.2.1
> speedbar 0.12
>
> Those directories is ok because everything else works fine (example
> speedbar, abbreviations).
>
> My ~/.emacs is
>
> ;; jde configurations
> (add-to-list 'load-path (expand-file-name "~/emacs/jde-2.2.4/lisp"))
> (add-to-list 'load-path (expand-file-name "~/semantic-1.2.1"))
> (add-to-list 'load-path (expand-file-name "~/speedbar-0.12"))
> (add-to-list 'load-path (expand-file-name
> "/usr/share/emacs20/site-lisp/elib"))
>
> ;; If you want Emacs to defer loading the JDE until you open a
> ;; Java file, edit the following line
> (setq defer-loading-jde nil)
> ;; to read:
> ;;
> ;; (setq defer-loading-jde t)
> ;;
>
> (if defer-loading-jde
> (progn
> (autoload 'jde-mode "jde" "JDE mode." t)
> (setq auto-mode-alist
> (append
> '(("\\.java\\'" . jde-mode))
> auto-mode-alist)))
> (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 shell-file-name "bash")
> (setq shell-command-switch "-c")
> (setq explicit-shell-file-name shell-file-name)
> (setenv "SHELL" shell-file-name)
> (setq explicit-sh-args '("-login" "-i"))
> (custom-set-variables
> '(jde-compiler "/usr/jdk1.2.2/bin/javac")
> '(jde-db-debugger (quote ("JDEbug" "" . "Executable")))
> '(jde-global-classpath (quote (".")))
> '(jde-enable-abbrev-mode t))
> (custom-set-faces)
>
>
> Regards
>
> Roni