Hi,

I can compile and run a Java program without any trouble.
At trying to debug it, I get the following error message:

Process not open for writing: #<process "*JDEbug*" pid 1442 state:exit>

I have SuSE Linux 7.1, XEmacs 21.1.12, jde-2.2.7beta11,
j2re-1_3_0_02, j2sdk-1_3_0_02.

My .emacs and .xemacs-custom file are below.

Any advice/help greatly appreciated.

-- 
Bye                     Hossz� P�ter

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.emacs '
;;; ---------------------
;;;
;;; Note: This file switches between two Emacs versions:
;;;            GNU-Emacs (19.34/20.X) and X-Emacs (19.14/20.X).
;;;       Please to not mix both versions: GNU-Emacs and X-Emacs
;;;       are incompatible. They use differnet binary code for
;;;       compiled lisp files and they have different builtin
;;;       lisp functions ... not only names of such functions
;;;       are different!!!
;;;
;;; If you need your own personal ~/.emacs
;;; please make a copy of this file
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Remember font and more settings
;; -------------------------------
(setq options-save-faces t)
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; XEmacs load options
;;; -------------------
;;; If missing the next few lines they will be append automatically
;;; by xemacs. This will be done by `save-options-menu-settings'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Custom Settings
;; ===============
;; Set custom-file to ~/.xemacs-custom for XEmacs to avoid overlap with the
;; custom interface of GNU-Emacs. Nevertheless, in most cases GNU-Emacs can
;; not handle unknown functions in ~/.emacs .. therefore ~/.xemacs-custom.
(setq custom-file "~/.xemacs-custom")
(load "/home/peter/.xemacs-custom" t t)
;; ======================
;; End of Custom Settings

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Private Settings
;; ================

;; Cut - Copy - Paste: F10 - F11 - F12
;; Search variants: F5 & al.
(load "/home/peter/xemacs/my_bind.el" t)
(set-my-bindings)

;; Mailcrypt
(load-library "mailcrypt") ; provides "mc-setversion"
(mc-setversion "5.0")      ; for PGP 2.6 (default); also "5.0"

(autoload 'mc-install-write-mode "mailcrypt" nil t)
(autoload 'mc-install-read-mode "mailcrypt" nil t)
(add-hook 'mail-mode-hook 'mc-install-write-mode)

(add-hook 'vm-mode-hook 'mc-install-read-mode)
(add-hook 'vm-summary-mode-hook 'mc-install-read-mode)
(add-hook 'vm-virtual-mode-hook 'mc-install-read-mode)
(add-hook 'vm-mail-mode-hook 'mc-install-write-mode)

;; Java
;; ====
;;
;; Emacs LISP load path for Java Development Environment
;; (setq jdedir "/opt/packages/jde-2.2.7beta11/lisp/")
;; (add-to-list 'load-path (expand-file-name "jde" jdedir)) 
(setq jdedir "/opt/packages/jde-2.2.7beta11/")
(add-to-list 'load-path (expand-file-name "lisp" jdedir)) 
;;
(setq xdir "/usr/share/xemacs/21.1.12/lisp/")
(add-to-list 'load-path (expand-file-name "semantic" xdir))
(add-to-list 'load-path (expand-file-name "speedbar" xdir))
(add-to-list 'load-path (expand-file-name "elib" xdir))
(add-to-list 'load-path (expand-file-name "eieio" xdir))
;;
;; Load the JDE
(require 'jde)

;; Semantic
(require 'semantic-c) ; for C code integration
(require 'semantic-el) ; for Emacs Lisp code integration
(require 'semantic-make) ; for Makefile integration
(require 'semantic-imenu) ; if you use imenu or wich-function
(add-hook 'speedbar-load-hook 
          (lambda () 
            (require 'semantic-sb))) ; for speedbar integration
(autoload 'semantic-bnf-mode "semantic-bnf" "Mode for Bovine Normal Form." t)
(add-to-list 'auto-mode-alist 
             '("\\.bnf$" . semantic-bnf-mode)) ; for editing .bnf parser files.
(autoload 'semantic-minor-mode "semantic-mode" 
        "Mode managing semantic parsing." t) ; for semantic-minor-mode

;; Speedbar
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
(add-menu-button '("Tools")
                 ["Speedbar" speedbar-frame-mode
                  :style toggle
                  :selected (and (boundp 'speedbar-frame)
                                 (frame-live-p speedbar-frame)
                                 (frame-visible-p speedbar-frame))] "--")
(global-set-key [(f8)] 'speedbar-get-focus)

;; Texinfo fancy chapter tags
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))

;; For any verison of emacs on a linux RPM based system:
(autoload 'rpm "sb-rpm" "Rpm package listing in speedbar.")

;; chapter listings
(autoload 'Info-speedbar-buttons 
        "sb-info" "Info specific speedbar button generator.")

;; folder listings
(autoload 'rmail-speedbar-buttons 
        "sb-rmail" "Rmail specific speedbar button generator.")

;; current stack display
(autoload 'gud-speedbar-buttons 
        "sb-gud" "GUD specific speedbar button generator.")
;;
;; End of Java
;;==============

;; Save and load configuration
(require 'saveconf)
(if (null (cdr command-line-args))
    (setq inihibit-startup-message (recover-context)))
(setq auto-save-and-recover-context t)
(setq save-buffer-context t)
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Options Menu Settings
;; =====================
(load-options-file "/home/peter/.xemacs-options")
;; ============================
;; End of Options Menu Settings
;; -*- Mode: Emacs-Lisp -*-

(custom-set-variables
 '(jde-use-font-lock t)
 '(gnus-inhibit-startup-message t)
 '(gnus-play-startup-jingle t)
 '(strokes-mode t nil (strokes))
 '(jde-lib-directory-name "")
 '(jde-compiler "/usr/java/jdk1.3.0_02/bin/javac")
 '(font-menu-ignore-scaled-fonts nil)
 '(paren-mode (quote blink-paren) nil (paren))
 '(jde-compile-option-debug (quote ("all" (t t t))))
 '(jde-db-option-verbose (quote (t nil nil)))
 '(gnus-save-score t)
 '(jde-bug-server-socket (quote (nil . "2212")))
 '(smtpmail-smtp-server "mail.surfeu.at")
 '(jde-db-option-vm-args (quote ("-Xdebug" "-Xrunjdwp:transport=dt_socket" 
"address=127.0.0.1:2212")))
 '(jde-make-program "/usr/bin/make")
 '(jde-compile-option-target (quote ("1.3")))
 '(jde-project-name "Semmi")
 '(speedbar-verbosity-level 5)
 '(jde-run-application-class "")
 '(mouse-avoidance-mode (quote banish) nil (avoid))
 '(jde-bug-vm-includes-jpda-p t)
 '(jde-global-classpath (quote (".")))
 '(jde-bug-jdk-directory "/usr/java/jdk1.3.0_02/lib")
 '(buffers-menu-submenus-for-groups-p t)
 '(buffers-menu-max-size nil)
 '(jde-run-option-verbose (quote (nil nil nil)))
 '(column-number-mode t)
 '(lazy-shot-mode t nil (lazy-shot))
 '(jde-compile-option-nowarn nil)
 '(package-get-remote nil)
 '(jde-run-java-vm "/usr/java/jdk1.3.0_02/bin/java")
 '(jde-db-option-verify (quote (nil t)))
 '(jde-run-classic-mode-vm t)
 '(jde-run-option-vm-args (quote ("-Xnoagent" "-Djava.compiler=NONE")))
 '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.3/docs/index.html";)
 '(jde-java-font-lock-api-file 
"/home/peter/xemacs/jde-java-font-lock.api")
 '(jde-gen-k&r nil)
 '(case-fold-search nil)
 '(tab-width 2)
 '(jde-bug-server-shmem-name (quote (t . "JDEbug")))
 '(jde-run-option-verify (quote (nil t)))
 '(debug-on-error t)
 '(toolbar-mail-reader (quote vm))
 '(jde-compile-option-command-line-args "")
 '(line-number-mode t)
 '(gnus-nntpserver-file "~/.nntpserver")
 '(jde-quote-classpath nil)
 '(user-full-name "Hossz� P�ter" t)
 '(jde-expand-classpath-p nil)
 '(jde-run-applet-viewer "/usr/java/jdk1.3.0_02/bin/appletviewer")
 '(gnus-check-bogus-newsgroups t)
 '(jde-compile-option-deprecation nil)
 '(jde-db-debugger (cons "JDEbug" (cons "" "Executable")))
 '(jde-db-source-directories (quote ("/home/peter/Java/Semmi")))
 '(complex-buffers-menu-p nil)
 '(gnus-select-method (quote (nntp "news.surfeu.at")))
 '(user-mail-address "[EMAIL PROTECTED]" t)
 '(query-user-mail-address nil)
 '(jde-compile-option-verbose nil)
 '(font-lock-mode t nil (font-lock))
 '(smtpmail-default-smtp-server "mail.surfeu.at")
 '(jde-bug-debugger-host-address "127.0.0.1")
 '(jde-bug-jre-home "/usr/java/jdk1.3.0_02/jre/bin"))
(custom-set-faces
 '(default ((t (:family "Courier" :size "18pt"))) t)
 '(text-cursor ((t (:foreground "yellow" :background "green3"))) t)
 '(info-node ((t (:foreground "white" :background "violet" :bold t))))
 '(hyper-apropos-warning ((t (:foreground "yellow" :background "darkgreen" 
:bold t))))
 '(custom-group-tag-face-1 ((((class color) (background light)) (:foreground 
"green4" :underline t))))
 '(hyper-apropos-section-heading ((t (:size "16" :bold t :italic t))))
 '(font-lock-warning-face ((((class color) (background light)) (:foreground 
"Red" :bold t))))
 '(message-cited-text-face ((((class color) (background light)) (:foreground 
"black" :background "grey"))))
 '(font-lock-constant-face ((((class color) (background light)) (:foreground 
"NavyBlue"))) t)
 '(bold ((t (:size "13" :bold t))) t)
 '(bold-italic ((t (:size "10" :bold t :italic t))) t)
 '(italic ((t (:size "16" :italic t))) t)
 '(font-lock-comment-face ((((class color) (background light)) (:foreground 
"blue")))))

(setq minibuffer-max-depth nil)

Reply via email to