>X-Recipient: <[EMAIL PROTECTED]>
>Date: Sun, 21 Jan 2001 17:32:51 -0500
>From: Sue-Fen Wang Cuti <[EMAIL PROTECTED]>
>X-Mailer: Mozilla 4.76 [en] (WinNT; U)
>X-Accept-Language: en,pdf
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Unable to compile or debug on JDE
>
>Hi Paul,
>
>Essentially I can't get JDE to work, either for compiling or debuffing.
>
>First of all, my classpath always shows up as array of digitals, and it
>couldn't find my package.  My classpath should show up as
>k:\users\sfcuti\asnLib\lib.  "asn" is a directory name under that. 
>Please note I can compile my files in DOS window, and debug my code
>using jdb.
>
>The following block is the compilation output:
>
>----------------------------------
>cd k:/users/sfcuti/asnLib/test/asntest/
>javac -classpath "126;47;97;115;110;76;105;98;47;108;105;98" -g
>Test.java
>bash.exe: warning: could not find /tmp, please create!
>Test.java:3: Package asn not found in import.
>import asn.*;
>       ^
>1 error
>
>Compilation exited abnormally with code 1 at Sun Jan 21 16:59:25
>-------------------------------------
>
>The following block is what happened after I started JDE/Debug App
>
>------------------------------
>cd ~/asnLib/lib
>jdb asntest.Test
>
>Initializing jdb...
>0xaa:class(asntest.Test)
>> running ...
>Breakpoint set in asntest.Test.main
>> run asntest.Test 
>main[1] 
>-------------------------------
> 
>However there is no Jdbshowed up in the menu bar or "An arrow points to
>main method's first line.  I tried follow your toubleshooting quide. 
>But it doesn't work either.  By the ways I didn't set project file. 
>Included please see the request informations.
>
>Thanks.
>
>- Sue
>
>
>1. host platform:  Windows/NT
>
>2. JDE version: JDE 2.2.6 
>
>3. Emacs version : NT/Emacs 20.7 
>
>4. complete contents of your .emacs file:
> 
>;;{{{ Initial Setting of the display
>(setq default-frame-alist
>      '((top . 0) (left . 350)
>        (width . 80) (height . 53)
>        (cursor-color . "red")
>        (cursor-type . box)
>        (foreground-color . "black")
>        (background-color . "white")
>        (vertical-scroll-bars . right)))
>;;}}}
>
>
>
>;; This .emacs file illustrates the minimul setup
>;; required to run the JDE.
>
>;; Set the debug option to enable a backtrace when a
>;; problem occurs.
>(setq debug-on-error t)
>
>
>;; Update the Emacs load-path to include the path to
>;; the JDE and its require packages. This code assumes
>;; that you have installed the packages in the emacs/site
>;; subdirectory of your home directory.
>
>  (add-to-list 'load-path (expand-file-name
>"~/emacs/site/jde-2.2.6/lisp"))
>  (add-to-list 'load-path (expand-file-name
>"~/emacs/site/semantic-1.32"))
>  (add-to-list 'load-path (expand-file-name
>"~/emacs/site/speedbar-0.13"))
>  (add-to-list 'load-path (expand-file-name "~/emacs/site/elib-1.0"))
>  (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio-0.15"))
>
>(pc-selection-mode) 
>(load "cua-mode")
>(CUA-mode t) 
>
>;;{{{ Display Time
>;; I like to know what time it is. These lines show the clock in
>;; the status bar. Comment out first line if you prefer to show
>;; time in 12 hour format
>(setq display-time-24hr-format t)
>(setq display-time-day-and-date t)
>(setq debug-on-error t) 
>(display-time)
>;;}}}
>
>;; forces line numbers to be displayed on mode line as well 
>(line-number-mode t)
>
>;; Display column stuff
>;; (require 'column)   complaining about not able load column
>;;(display-column-mode 1)
>
>;; font lock for highlight
>(cond ((fboundp 'global-font-lock-mode)
>            ;; Turn on font-lock in all modes that support it
>            (global-font-lock-mode t)
>            ;; Maximum colors
>            (setq font-lock-maximum-decoration t)))
>
>;; set default font
>;;(set-default-font "-*-Courier-normal-r-*-*-13-*-*-*-c-*-*-iso8859-1")
>(set-default-font "-*-Courier-normal-r-*-*-1-*-*-*-c-*-*-iso8859-1")
>;;(set-default-font
>"-adobe-courier-medium-r-normal--*-90-*-*-m-*-iso8859-1")
>
>
>;; 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 binary-process-input t) 
>(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"))
>(if (boundp 'w32-quote-process-args)
>  (setq w32-quote-process-args ?\")) ;; Include only for MS Windows.
>
>;;(custom-set-variables
>(put 'jde-global-classpath 'customized-value "~/asnLib/lib")
>(put 'jde-compile-option-classpath 'customized-value "~/asnLib/lib")
>; '(jde-compile-option-debug "-g")
>(put 'jde-compile-option-command-line-args 'customized-value "-g")
>(put 'jde-build-use-make 'customized-value "~/asnLib/makefile")
>(put 'jde-run-working-directory 'customized-value "~/asnLib/lib")
>(put 'jde-run-option-classpath 'customized-value "")
>(put 'jde-run-application-class 'customized-value "asntest.Test")
>(put 'jde-db-source-directories 'customized-value
>"~/asnLib/src;~/asnLib/test")
>; '(jde-db-set-source-paths "~/asnLib/test")
>
>
>
>;;{{{ Show Absolute Path on the Title Frame
>(setq frame-title-format "%f")
>;;}}}
>;;{{{ Match Parenthesis, vi style
>
>                                        ; By an unknown contributor
>(global-set-key "%" 'match-paren)
>(defun match-paren (arg)
>  "Go to the matching parenthesis if on parenthesis otherwise insert %."
>  (interactive "p")
>  (cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
>        ((looking-at "\\s\)") (forward-char 1) (backward-list 1))
>        (t (self-insert-command (or arg 1)))))
>
>;; C-c g goto-line
>(global-set-key "\C-xg" 'goto-line) 
>
>
>
>(custom-set-variables
> '(paren-mode (quote paren) nil (paren))
> '(browse-url-browser-function (quote browse-url-netscape))
> '(toolbar-visible-p nil)
> '(w3-package t)
> '(gnus-package t))
>(custom-set-faces)
>;;{{{ Font Lock
>(defcustom font-lock-mode-string ""
>  "The string that will appear in the modeline when font-lock-mode is
>on."
>  :type 'string
>  :group 'font-lock)
>;;}}}
>

Reply via email to