At 05:33 PM 1/5/00 -0600, Ploski, Karen L wrote:
>I too, am having difficulties.  What am I missing?
>
>Any help would be appreciated!
>
>[mailto:[EMAIL PROTECTED]]
>
>
>NT 4.0 SP4
>Emacs 20.5.1
>jde-2.1.6beta15
>jdk1.3beta
>
>The first entry in my PATH variable is: "E:\JPDA\BIN"
>

There are two problems:

1. JDK 1.3beta includes JPDA. Therefore you have to set the following
configuration variables:


jde-bug-vm-includes-jpda-p: [Hide] [Toggle]  on (non-nil)
   [State]: you have set this option, but not saved it for future sessions.
On (non-nil) indicates that the vm used by this project includes JDPA.  
Turn this option on if this project uses a JDK 1.3 (or later) vm.

2. You have set the variable jde-bug-jre-home incorrectly. This variable
should
   be set to the parent directory of the JRE that you want to launch the
   target process. In your case this would be c:/jdk1.3beta. However, this is
   unnecessary anyway because the debugger automatically uses the JRE of
the JDK
   installed on your system. You should use this only if you need to use
some other
   JRE than the default one. So you should set this variable to its default
value of
   the null string.

- Paul

>I receive the following messages when I select "Debug App".
>
>*** Debugger Output for Process Alphabet.Start.Start(1) ***
>
>Error: debugger unable to launch Alphabet.Start.Start.
>  Reason: Unable to launch: java.io.IOException: CreateProcess:
>c:/jdk1.3beta/jre/bininjava -Xdebug -Xnoagent -Djava.compiler=NONE
>-Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y -classpath
>c:javapkg;. Alphabet.Start.Start  error=3
>Error: cannot set breakpoint at line Start.java in file 15.
>  Reason:
>Error: unable to run Alphabet.Start.Start..
>  Reason: Application ID '1' does not exist.
>
>
>
>.emacs  contents:
>
>(setq system-name "RV-PLOSKIKL")
>
>;; To use the common open file dialogue:
>;; Download dlgopen from Emacs FAQ
>(setq dlgopen-executable-path "e:/gnu/dlgopen/dlgopen/getfile.exe")
>(load "e:/gnu/dlgopen/dlgopen/dlgopen.el")
>
>;; For CUA-mode.  Allows you to use standard Windows keybindings for
>;; Copy (Ctrl-c), Paste (Ctrl-v), Delete (Ctrl-x) and Undo (Ctrl-z).  
>;; You must highlight the region first.  Place "CUA-mode.el" in the 
>;; Emacs lisp subdirectory.
>;; (pc-selection-mode) by itself allows you to position the cursor
>;; but not cut or paste with the mouse.
>;; However, using (load "cua-mode") and (CUA-mode t) disables highlighting
>when you do:
>;; Ctrl-a Ctrl-Shift-2 (Mark Set) Ctrl-e
>(pc-selection-mode)
>;;(load "cua-mode")
>;;(CUA-mode t)
>
>;; where to find JDE
>(setq load-path 
>   (nconc 
>    '( 
>      "e:/gnu/jde-2.1.6beta15/lisp" 
>    ;; Add paths to other add-on packages here. 
>     ) 
>     load-path))
>(require 'jde)
>
>;; keyword syntax highlighting
>(setq font-lock-maximum-decoration 
>       '((java-mode . 2)))
>(global-font-lock-mode t)
>
>
>
>(setq default-frame-alist 
>       '((background-color . "light blue")
>        (cursor-color . "red3")))
>
>(set-default-font "-*- Courier New-bold-r-*-*-14-80-*-*-c-*-*-ansi-")
>
>;; Emacs window is 40 columns wide and 80 rows high
>(set-frame-height (selected-frame) 40)
>(set-frame-width (selected-frame)  80)
>
>
>;; to match left and right parenthesis
>(show-paren-mode)
>
>;; to use "Print" from the Emacs Tools menu
>(setq printer-name "//RV-PRINT1/Armadillo-PCL")
>
>;; To use Internet Explorer to view JDK and JDE documentation
>;; Download shelex.exe from Emacs FAQ
>(defvar shell-execute-helper "shelex.exe")
>(defun shell-execute-url (url &optional new-window)
>"Invoke the shell-execute-helper program to call ShellExecute and launch or
>re-direct a web browser on the specified url."
>  (interactive "sURL: ")
>  (call-process shell-execute-helper nil nil nil url))
>
>(setq browse-url-browser-function 'shell-execute-url)
>(setq gnus-button-url 'shell-execute-url)       ; GNUS
>(setq vm-url-browser 'shell-execute-url)        ; VM
>
>(custom-set-variables
> '(jde-bug-jre-home "c:/jdk1.3beta/jre/bin")
> '(jde-db-option-classpath (quote ("c:\\javapkg" ".")))
> '(jde-bug-jdk-directory "c:/jdk1.3beta/")
> '(jde-bug-vm-executable (quote ("java")))
> '(jde-db-debugger (quote ("jdebug" . "Class")))
> '(jde-bug-jpda-directory "e:/jpda"))
>(custom-set-faces)
>
>
>
>

Reply via email to