Hi again
> The JDE does NOT use a shell to launch the beanshell. It launches the
> beanshell as a subprocess of Emacs. Subprocesses on Unix, I believe,
> inherit the environment of the parent process. Thus, the beanshell vm
> should inherit the environment of Emacs and Emacs should inherit the
> environment of the shell that launched it. Thus, if you set JAVA_HOME in
> the shell that you used to start Emacs, that should be enough. You can
> determine the environment used to launch the beanshell by executing
> JDE->Help->Submit Problem Report. This command generates a complete
> snapshot of the Emacs environment, including all environment variables, at
>
> the time the command is executed. Learn to use this command. It is your
> one
> and only true friend when you have a problem and need help from people
> like
> myself who live on the other side of the planet from you.
>
Ok. Here is my environment of jde.
If you see below there is JAVA_HOME which is a correct one and also
path finds right java version.
Stephane, I'm using jde2.2.4.1 which is in my understanding the
latest version of
jde.
Regards Roni
Emacs : GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
of Tue Jun 20 2000 on raven
Package: JDE version 2.2.4.1
current state:
==============
(setq
jde-gen-session-bean-template '("(jde-wiz-insert-imports-into-buffer (list
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n\n'>'n" "'> \"public
void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n\n'>'n" "'>
\"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'>
\"public void setSessionContext(SessionContext ctx) throws\nRemoteException
{\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws
RemoteException {\"'>'n\n\"}\"'>'n '>'n'>")
jde-gen-beep '("(end-of-line) '&"
"\"Toolkit.getDefaultToolkit().beep();\"'>'n'>")
jde-which-method-format '(" [" jde-which-method-current "]")
jde-run-classic-mode-vm nil
jde-javadoc-gen-nodeprecatedlist nil
jde-imenu-include-classdef nil
jde-javadoc-gen-link-online nil
jde-gen-code-templates '(("Get Set Pair" . jde-gen-get-set) ("toString
method" . jde-gen-to-string-method)
("Action Listener" . jde-gen-action-listener)
("Window Listener" . jde-gen-window-listener)
("Mouse Listener" . jde-gen-mouse-listener)
("Mouse Motion Listener" .
jde-gen-mouse-motion-listener)
("Inner Class" . jde-gen-inner-class) ("println" .
jde-gen-println)
("beep" . jde-gen-beep)
("property change support" .
jde-gen-property-change-support)
("EJB Entity Bean" . jde-gen-entity-bean)
("EJB Session Bean" . jde-gen-session-bean))
jde-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")"
"'(l '> \"else \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"}
\"'>'n'>)" ")")
jde-make-args ""
jde-javadoc-gen-destination-directory "JavaDoc"
jde-mode-line-format '("-" mode-line-mule-info mode-line-modified
mode-line-frame-identification
mode-line-buffer-identification " "
global-mode-string " %[(" mode-name
mode-line-process minor-mode-alist "%n" ")%]--"
(jde-which-method-mode ("" jde-which-method-format
"--")) (line-number-mode "L%l--")
(column-number-mode "C%c--") (-3 . "%p") "-%-")
jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean") ("br" .
"break") ("by" . "byte")
("byv" . "byvalue") ("cas" . "cast") ("ca" .
"catch") ("ch" . "char")
("cl" . "class") ("co" . "const") ("con" .
"continue") ("de" . "default")
("dou" . "double") ("el" . "else") ("ex" .
"extends") ("fa" . "false")
("fi" . "final") ("fin" . "finally") ("fl" .
"float") ("fo" . "for")
("fu" . "future") ("ge" . "generic") ("go" .
"goto") ("impl" . "implements")
("impo" . "import") ("ins" . "instanceof") ("in" .
"int") ("inte" . "interface")
("lo" . "long") ("na" . "native") ("ne" . "new")
("nu" . "null") ("pa" . "package")
("pri" . "private") ("pro" . "protected") ("pu" .
"public") ("re" . "return")
("sh" . "short") ("st" . "static") ("su" .
"super") ("sw" . "switch")
("sy" . "synchronized") ("th" . "this") ("thr" .
"throw") ("throw" . "throws")
("tra" . "transient") ("tr" . "true") ("vo" .
"void") ("vol" . "volatile")
("wh" . "while"))
jde-imenu-enable t
jde-compile-option-verbose nil
jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-bug-debugger-host-address "pena.laatukolmio.fi"
jde-make-working-directory ""
jde-bug-breakpoint-marker-colors '("red" . "yellow")
jde-javadoc-gen-use nil
jde-gen-buffer-boilerplate nil
jde-bug-raise-frame-p t
jde-db-option-application-args nil
jde-javadoc-gen-nonavbar nil
jde-javadoc-gen-nohelp nil
jde-bug-vm-includes-jpda-p nil
jde-gen-jfc-app-buffer-template '("(funcall jde-gen-boilerplate-function)
'>'n"
"\"import java.awt.Dimension;\" '>'n"
"\"import java.awt.Graphics;\" '>'n"
"\"import java.awt.Graphics2D;\" '>'n"
"\"import java.awt.Color;\" '>'n"
"\"import java.awt.geom.Ellipse2D;\"
'>'n"
"\"import java.awt.event.WindowAdapter;\"
'>'n"
"\"import java.awt.event.WindowEvent;\"
'>'n"
"\"import javax.swing.JFrame;\" '>'n"
"\"import javax.swing.JPanel;\" '>'n"
"\"import javax.swing.JScrollPane;\"
'>'n"
"\"import javax.swing.JMenuBar;\" '>'n"
"\"import javax.swing.JMenu;\" '>'n"
"\"import java.awt.event.ActionEvent;\"
'>'n"
"\"import javax.swing.AbstractAction;\"
'>'n '>'n" "\"/**\" '>'n" "\" * \""
"(file-name-nondirectory
buffer-file-name) '>'n" "\" *\" '>'n"
"\" *\" '>'n" "\" * Created: \"
(current-time-string) '>'n" "\" *\" '>'n"
"\" * @author <a href=\\\"mailto: \\\"\"
(user-full-name) \"</a>\"'>'n"
"\" * @version\" '>'n" "\" */\" '>'n"
"'>'n" "\"public class \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\" extends JFrame\"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n"
"\"class Canvas extends JPanel\"" "(if
jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"public Canvas () \"" "(if
jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n"
"\"setSize(getPreferredSize());\" '>'n"
"\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n"
"\"public Dimension getPreferredSize()
\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"return new Dimension(600,
600);\" '>'n" "\"}\"'>'n '>'n"
"\"public void paintComponent(Graphics g)
\"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n"
"\"super.paintComponent(g);\" '>'n"
"\"Graphics2D g2d = (Graphics2D) g;\"
'>'n"
"\"Ellipse2D circle = new
Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n"
"\"g2d.setColor(Color.red);\" '>'n"
"\"g2d.translate(10, 10);\" '>'n"
"\"g2d.draw(circle);\" '>'n"
"\"g2d.fill(circle);\" '>'n" "\"}\"'>'n "
"\"}\"'>'n '>'n" "\"public \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\"()\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n"
"\"super(\\\"\" (P \"Enter app title: \")
\"\\\");\" '>'n"
"\"setSize(300, 300);\" '>'n"
"\"addWindowListener(new WindowAdapter() \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n"
"\"public void windowClosing(WindowEvent
e) {System.exit(0);}\" '>'n"
"\"public void windowOpened(WindowEvent
e) {}\" '>'n" "\"});\"'>'n"
"\"setJMenuBar(createMenu());\" '>'n"
"\"getContentPane().add(new
JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n"
"'>'n" "\"public static void
main(String[] args) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'n"
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\" f = new \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\"();\" '>'n" "\"f.show();\" '>'n"
"\"}\"'>'n '>'n"
"\"protected JMenuBar createMenu() \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"JMenuBar mb = new
JMenuBar();\" '>'n"
"\"JMenu menu = new
JMenu(\\\"File\\\");\" '>'n"
"\"menu.add(new
AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"public void
actionPerformed(ActionEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"System.exit(0);\" '>'n"
"\"}\" '>'n" "\"});\" '>'n"
"\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n"
"\"}\"'>'n " "\"} // \"'>"
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"'>'n")
jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over) ("[? ? ?]" .
jde-bug-step-into)
("[? ? ?]" . jde-bug-step-into-all) ("[? ? ?]"
. jde-bug-step-out)
("[? ? ?]" . jde-bug-continue) ("[? ? ?]" .
jde-bug-toggle-breakpoint))
jde-compile-finish-hook '(jde-compile-finish-refresh-speedbar
jde-compile-finish-flush-completion-cache)
jde-compile-option-nowarn nil
jde-setnu-mode-threshold 20000
jde-run-java-vm-w "javaw"
jde-compile-option-encoding nil
jde-run-option-java-profile '(nil . "./java.prof")
bsh-startup-timeout 10
jde-bug-jpda-directory ""
jde-read-compile-args t
jde-run-java-vm "java"
jde-db-option-verbose '(nil nil nil)
jde-db-read-app-args nil
jde-javadoc-gen-nodeprecated nil
jde-gen-cflow-try '("(if (jde-parse-comment-or-quoted-p)" "'(l \"try\")"
"'(l '> \"try \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} catch(Exception)
{\"'>'n'>" "'>'n'>" "\"}\"'>'n'>)"
")")
jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
jde-gen-println '("(end-of-line) '&" "\"System.out.println(\" (P \"Print
out: \") \");\" '>'n'>")
jde-enable-abbrev-mode t
bsh-vm-args nil
jde-gen-cflow-main '("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")"
"'(l '> \"public static void main (String[] args) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n'>'r'n" "\"} \"'>'n'>)" ")")
jde-javadoc-exception-tag-template '("* @exception " type " if an error
occurs")
jde-global-classpath nil
jde-gen-window-listener-template '("(end-of-line) '& (P \"Window name: \")"
"\".addWindowListener(new
WindowAdapter() \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'> \"public void
windowActivated(WindowEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\""
"'>'n \"public void
windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'>'n \"}\""
"'>'n \"public void
windowClosing(WindowEvent e) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'n
\"System.exit(0);\" '>'n \"}\""
"'>'n \"public void
windowDeactivated(WindowEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n \"}\""
"'>'n \"public void
windowDeiconified(WindowEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n \"}\""
"'>'n \"public void
windowIconified(WindowEvent e) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'n \"}\""
"'>'n \"public void
windowOpened(WindowEvent e) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'n \"}\""
"'>'n \"});\" '>'n'>")
jde-run-working-directory ""
jde-gen-property-change-support '("(end-of-line) '&"
"\"protected PropertyChangeSupport pcs =
new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a
PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is
registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The
PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void
addPropertyChangeListener(PropertyChangeListener listener) \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\"
'>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n"
"\"* This removes a PropertyChangeListener that was registered for all
properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The
PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void
removePropertyChangeListener(PropertyChangeListener listener) \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n"
"\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\"
'>'n" "\"* The listener will be invoked only when a call on
firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\"
'>'n \"* @param propertyName The name of the property to listen on\" '>'n"
"\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\"
'>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n"
"\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\"
'>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for
a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of
the property that was listened on\" '>'n" "\"* @param listener The
PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void
removePropertyChangeListener(String propertyName,\" '>'n"
"\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName,
listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property
update to any registered listeners. \" '>'n" "\"* No event is fired if old
and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName
The programmatic name of the property that was changed\" '>'n" "\"* @param
oldValue The old value of the property\" '>'n" "\"* @param newValue The new
value of the property.\" '>'n \"*/\" '>'n" "\"public void
firePropertyChange(String propertyName, Object oldValue, Object newValue)
\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>
\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\"
'>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any
registered listeners. \" '>'n" "\"* No event is fired if old and new are
equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around
the more general\" '>'n" "\"* firePropertyChange method that takes Object
values.\" '>'n" "\"* No event is fired if old and new are equal and
non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name
of the property that was changed\" '>'n" "\"* @param oldValue The old value
of the property\" '>'n" "\"* @param newValue The new value of the
property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String
propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue,
newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property
update to any registered listeners. \" '>'n" "\"* No event is fired if old
and new are equal and non-null.\" '>'n" "\"* This is merely a convenience
wrapper around the more general\" '>'n" "\"* firePropertyChange method that
takes Object values.\" '>'n" "\"* No event is fired if old and new are equal
and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic
name of the property that was changed\" '>'n" "\"* @param oldValue The old
value of the property\" '>'n" "\"* @param newValue The new value of the
property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String
propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName,
oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an
existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No
event is fired if the given event's old and new values are equal and
non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent
object.\" '>'n\"*/\" '>'n" "\"public void
firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n
'>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific
property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent
object.\" '>'n" "\"* @return <code>true</code>if there are one or more
listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean
hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n
'>'n'>")
jde-javadoc-describe-interface-template '("* Describe interface "
(jde-javadoc-code name) " here.")
jde-javadoc-see-tag-template '("* @see " ref)
jde-imenu-include-signature nil
jde-db-marker-regexp "^.*: thread=.*,
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),"
jde-gen-mouse-motion-listener-template '("(end-of-line) '& (P \"Component
name: \")"
"\".addMouseMotionListener(new
MouseMotionAdapter() \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>"
"'>'n \"public void
mouseDragged(MouseEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>"
"'>'n \"public void
mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "\"}\"'>"
"'>'n \"});\"'>'n'>")
jde-key-bindings '(("[? ? ?]" . jde-run-menu-run-applet) ("[? ? ?]" .
jde-build)
("[? ? ?]" . jde-compile) ("[? ? ?]" . jde-debug)
("[? ? ?]" . jde-wiz-implement-interface)
("[? ? ?j]" . jde-javadoc-generate-javadoc-template)
("[? ? ?
]" . bsh)
("[? ? ?\f]" . jde-gen-println) ("[? ? ?]" .
jde-browse-jdk-doc)
("[? ? ?]" . jde-save-project) ("[? ? ?]" .
jde-wiz-update-class-list)
("[? ? ?]" . jde-run) ("[? ? ?]" .
speedbar-frame-mode)
("[? ? ?]" . jde-db-menu-debug-applet) ("[? ? ?]"
. jde-help-symbol)
("[? ? ?]" . jde-show-class-source) ("[? ? ?]" .
jde-wiz-find-and-import)
("[(control c) (control v) (control ?.)]" .
jde-complete-at-point-menu)
("[(control c) (control v) ?.]" .
jde-complete-at-point))
jde-gen-cflow-for-i '("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")"
"'(l '> \"for (int \" (p \"variable: \" var) \" = 0;
\"" "(s var)"
"\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++)
\"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n'>'r'n" "\"} \"'>'n'>)"
"(s var) \" < \" (s ub) \"; \" (s var)
\"++)\"'>'n'>)" ")")
jde-run-option-classpath nil
jde-javadoc-gen-detail-switch '("-protected")
jde-javadoc-param-tag-template '("* @param " name " " (jde-javadoc-a type)
" " (jde-javadoc-code type)
" value")
jde-compile-option-verbose-path nil
jde-db-debugger '("jdb" "" . "Executable")
jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html"
jde-gen-cflow-enable t
jde-compiler "javac"
jde-javadoc-gen-verbose nil
jde-javadoc-describe-method-template '("* Describe " (jde-javadoc-code
name) " method here.")
jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function)
'>'n" "\"/**\" '>'n" "\" * \""
"(file-name-nondirectory buffer-file-name)
'>'n" "\" *\" '>'n" "\" *\" '>'n"
"\" * Created: \" (current-time-string)
'>'n" "\" *\" '>'n"
"\" * @author <a href=\\\"mailto: \\\"\"
(user-full-name) \"</a>\"'>'n"
"\" * @version\" '>'n" "\" */\" '>'n'"
"'>'n" "\"public class \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\" \" (jde-gen-get-super-class)" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"public \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\" ()\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'p'n" "\"}\">"
"'>'n" "\"}\">" "\"// \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "'>'n")
jde-appletviewer-option-vm-args nil
jde-run-executable-args nil
jde-db-option-garbage-collection '(t t)
jde-javadoc-gen-stylesheetfile ""
jde-use-font-lock nil
jde-compile-option-bootclasspath nil
jde-make-program "make"
jde-javadoc-gen-group nil
jde-javadoc-gen-link-offline nil
jde-javadoc-gen-doc-title ""
jde-javadoc-gen-header ""
jde-run-option-vm-args nil
jde-javadoc-gen-window-title ""
jde-compile-option-directory ""
jde-gen-console-buffer-template '("(funcall jde-gen-boilerplate-function)
'>'n" "\"/**\" '>'n" "\" * \""
"(file-name-nondirectory
buffer-file-name) '>'n" "\" *\" '>'n"
"\" *\" '>'n" "\" * Created: \"
(current-time-string) '>'n" "\" *\" '>'n"
"\" * @author <a href=\\\"mailto: \\\"\"
(user-full-name) \"</a>\"'>'n"
"\" * @version\" '>'n" "\" */\" '>'n"
"'>'n" "\"public class \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"public \""
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"\" ()\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n" "\"}\"'>'n"
"'>'n" "\"public static void
main(String[] args)\"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n"
"\"} // \"'>"
"(file-name-sans-extension
(file-name-nondirectory buffer-file-name))"
"'>'n")
jde-read-make-args nil
jde-javadoc-gen-noindex nil
jde-gen-mouse-listener-template '("(end-of-line) '& (P \"Component name:
\")"
"\".addMouseListener(new MouseAdapter()
\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'> " "'>'n \"public void
mouseClicked(MouseEvent e) \" "
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\" '>"
"'>'n \"public void
mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\" '>"
"'>'n \"public void
mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\"'>"
"'>'n \"public void
mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\" '>"
"'>'n \"public void
mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n
\"});\"'>'n'>")
jde-run-option-application-args nil
jde-bug-vm-executable '("java")
jde-db-set-initial-breakpoint nil
jde-bug-debugger-command-timeout 10
jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-db-option-properties nil
jde-db-source-directories nil
jde-run-read-app-args nil
jde-gen-to-string-method-template '("(end-of-line) '&" "\"public String
toString() \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>")
jde-quote-classpath nil
jde-bug-window-message nil
jde-build-use-make t
jde-javadoc-author-tag-template '("* @author <a href=\"mailto:"
user-mail-address "\">" user-full-name "</a>")
jde-javadoc-describe-field-template '("* Describe " (jde-javadoc-field-type
modifiers) " "
(jde-javadoc-code name) " here.")
jde-javadoc-gen-link-URL nil
jde-compile-option-classpath nil
jde-bug-jdk-directory "/usr/jdk1.2.2"
jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
jde-gen-entity-bean-template '("(jde-wiz-insert-imports-into-buffer (list
\"javax.ejb.*\"\n\"java.rmi.RemoteException\"))" "'> \"public void
ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws
RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n
'>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void
ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws
RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n
'>'n" "'> \"public void setEntityContext(EntityContext ctx) throws
RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n
'>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>")
jde-javadoc-version-tag-template '("* @version 1.0")
jde-javadoc-describe-constructor-template '("* Creates a new "
(jde-javadoc-code name) " instance.")
jde-bug-server-shmem-name '(t . "JDEbug")
jde-db-startup-commands nil
jde-javadoc-gen-docletpath nil
jde-javadoc-gen-split-index nil
jde-compile-option-deprecation nil
jde-which-method-mode t
jde-gen-k&r t
jde-javadoc-gen-bottom ""
jde-javadoc-gen-footer ""
jde-db-option-classpath nil
jde-gen-cflow-for '("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")"
"'(l '> \"for (\" (p \"for-clause: \" clause) \") \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n'>'r'n" "\"} \"'>'n'>)" ")")
jde-run-mode-hook nil
jde-db-option-verify '(nil t)
jde-compile-option-extdirs nil
jde-imenu-sort nil
jde-gen-get-set-var-template '("(end-of-line) '&" "(P \"Variable type: \"
type) \" \""
"(P \"Variable name: \" name) \";\" '>'n
'>'n" "\"/**\" '>'n"
"\"* Get the value of \" (s name) \".\"
'>'n"
"\"* @return value of \" (s name) \".\"
'>'n" "\"*/\" '>'n"
"'>'\"public \" (s type)"
"(if (string= \"boolean\"
(jde-gen-lookup-named 'type) ) " "\" is\" "
"\" get\" ) " "(jde-gen-init-cap
(jde-gen-lookup-named 'name))" "\"() \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n"
"\"return \" (s name) \";\" '>'n \"}\""
"'>'n '>'n" "\"/**\" '>'n"
"\"* Set the value of \" (s name) \".\"
'>'n"
"\"* @param v Value to assign to \" (s
name) \".\" '>'n" "\"*/\" '>'n"
"'>'\"public void set\" (jde-gen-init-cap
(jde-gen-lookup-named 'name))"
"\"(\" (s type) \" v) \" " "(if jde-gen-k&r
" "()" "'>'n)" "\"{\" '>'n"
"'>'\"this.\" (s name) \" = v;\" '>'n \"}\"
'>'n'>")
jde-bug-saved-breakpoints nil
jde-compile-option-sourcepath nil
jde-gen-cflow-if '("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")"
"'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if
jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n'>'r'n" "\"} \"'>'n'>)" ")")
jde-db-option-java-profile '(nil . "./java.prof")
jde-javadoc-gen-author t
jde-compile-option-depend-switch '("-Xdepend")
jde-setnu-mode-enable nil
jde-run-applet-doc ""
jde-compile-option-vm-args nil
jde-javadoc-gen-overview ""
jde-javadoc-gen-notree nil
jde-run-option-garbage-collection '(t t)
jde-db-mode-hook nil
jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation objects")
bsh-eval-timeout 20
jde-db-read-vm-args nil
jde-bug-debug nil
jde-javadoc-end-block-template nil
jde-javadoc-gen-packages nil
jde-gen-cflow-if-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"ife\")"
"'(l '> \"if (\" (p \"if-clause: \" clause) \") \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause)
\")\"'> n" "'> \"else \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n"
"\"} \"'>'n'>)" ")")
jde-gen-cflow-while '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"while\")"
"'(l '> \"while (\" (p \"while-clause: \" clause) \")
\"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n'>'r'n" "\"} \"'>'n'>)" ")")
jde-bug-server-socket '(t . "2112")
jde-appletviewer-option-encoding ""
jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
jde-compile-option-target '("1.1")
jde-run-executable ""
jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
jde-gen-cflow-switch '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"switch\")"
"'(l '> \"switch (\" (p \"switch-condition: \"
clause) \") \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value:
\") \":\"'>'n'>'p'n"
"\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n"
"\"break;\"'>'n" "\"} \"'>'n'>)" ")")
jde-db-option-vm-args nil
jde-run-application-class ""
jde-javadoc-gen-doclet ""
jde-run-option-verbose '(nil nil nil)
jde-project-file-name "prj.el"
jde-wiz-import-excluded-packages '("bsh.*")
jde-compile-option-debug '("selected" (t nil nil))
jde-bug-jre-home ""
jde-run-applet-viewer ""
jde-entering-java-buffer-hooks '(jde-reload-project-file
jde-which-method-update-on-entering-buffer)
jde-javadoc-return-tag-template '("* @return " (jde-javadoc-a type) " "
(jde-javadoc-code type) " value")
jde-javadoc-gen-version t
jde-javadoc-gen-helpfile ""
jde-run-read-vm-args nil
jde-help-docsets nil
jde-javadoc-since-tag-template '("* @since 1.0")
jde-gen-inner-class-template '("(end-of-line) '& \"class \" (P \"Class
name: \" class)"
"(P \"Superclass: \" super t)" "(let
((parent (jde-gen-lookup-named 'super)))"
"(if (not (string= parent \"\"))" "(concat
\" extends \" parent ))) "
"(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n"
"\"public \" (s class) \"() \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"}\"'>'n" "\"}\" '>'n'>")
jde-auto-parse-buffer-interval 10
jde-run-option-verify '(nil t)
jde-compile-option-optimize nil
jde-gen-cflow-case '("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")"
"'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n"
"\"break;\"'>'n'>'p)" ")")
jde-compile-option-depend nil
jde-javadoc-describe-class-template '("* Describe class " (jde-javadoc-code
name) " here.")
jde-javadoc-gen-serialwarn nil
jde-gen-action-listener-template '("'& (P \"Component name: \")"
"\".addActionListener(new
ActionListener() \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"public void
actionPerformed(ActionEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>")
jde-auto-parse-enable nil
jde-compile-option-command-line-args ""
jde-gen-buffer-templates '(("Class" . jde-gen-class) ("Console" .
jde-gen-console)
("Swing App" . jde-gen-jfc-app))
jde-project-context-switching-enabled-p nil
jde-javadoc-gen-args nil
jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
jde-run-option-properties nil
)
There was no *JDEBug* buffer
There is no CLI buffer
There is no locals buffer
The contents of the *Backtrace* buffer were
Signaling: (error "Process bsh not running")
process-send-string(#<process bsh>
"jde.util.JdeUtilities.classExists(\"t\");\n")
(progn (setq bsh-tq-reply nil) (set-process-filter bsh-process (quote
bsh-eval-filter)) (process-send-string bsh-process (concat expr "\n")) (if
(not ...) (error "No reply from BeanShell")) (set-process-filter bsh-process
comint-filter) (if (string-match "// Error:" bsh-tq-reply) (progn ... ...))
(if eval-return (if bsh-tq-reply ... ...) bsh-tq-reply))
(if bsh-process (progn (setq bsh-tq-reply nil) (set-process-filter
bsh-process ...) (process-send-string bsh-process ...) (if ... ...)
(set-process-filter bsh-process comint-filter) (if ... ...) (if eval-return
... bsh-tq-reply)))
(when bsh-process (setq bsh-tq-reply nil) (set-process-filter bsh-process
(quote bsh-eval-filter)) (process-send-string bsh-process (concat expr
"\n")) (if (not ...) (error "No reply from BeanShell")) (set-process-filter
bsh-process comint-filter) (if (string-match "// Error:" bsh-tq-reply)
(progn ... ...)) (if eval-return (if bsh-tq-reply ... ...) bsh-tq-reply))
(let* ((bsh-process ...) (comint-filter ...)) (when bsh-process (setq
bsh-tq-reply nil) (set-process-filter bsh-process ...) (process-send-string
bsh-process ...) (if ... ...) (set-process-filter bsh-process comint-filter)
(if ... ...) (if eval-return ... bsh-tq-reply)))
bsh-eval("jde.util.JdeUtilities.classExists(\"t\");" t)
bsh-eval-r("jde.util.JdeUtilities.classExists(\"t\");")
jde-complete-class-exists("t")
(if (jde-complete-class-exists name) name (let (... shortname fullname tmp
result) (while ... ... ... ... ...) result))
jde-complete-get-qualified-name("t")
(setq qualified-name (jde-complete-get-qualified-name expr))
(cond ((string= "this" expr) (jde-complete-get-qualified-name ...))
((string= "super" expr) (throw ... ...)) ((setq qualified-name ...)
qualified-name) (t (let ... ...)))
jde-complete-eval-type-of("t")
(let ((type ...)) (if type (if ... ... ...)))
jde-complete-find-completion-for-pair(("t" ""))
(let* ((pair ...) completion-list) (if (string= ... "") (progn ... ... ...
...)) (if (null pair) (progn ... ... ... ...))
(jde-complete-find-completion-for-pair pair) (setq completion-list
jde-complete-current-list) (if completion-list (if jde-xemacsp ... ...)
(message "No completion at this point.")))
jde-complete-at-point-menu()
call-interactively(jde-complete-at-point-menu)
End Insert *Backtrace* buffer
The contents of the *Messages* buffer were
Setting JDE variables to startup values...
Making completion list...
Setting JDE variables to startup values...
Fontifying main.java...
Fontifying main.java... (regexps.............)
main.java:
[###########################################################################
#############] ... done
Starting the BeanShell. Please wait...
Loading debug...
Loading debug...done
Entering debugger...
[2 times]
Starting the BeanShell. Please wait...
Auto-saving...
Starting the BeanShell. Please wait...
Preparing problem report...
Formatting bug report buffer...
Formatting bug report buffer........................................
Mark set [2 times]
End Insert *Messages* buffer
Process environment:
JAVA_HOME=/usr/jdk1.2.2/
_=/usr/bin/emacs20
PATH=/vbroker/bin:/usr/jdk1.2.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X1
1:/usr/games
SSH_AUTH_SOCK=/tmp/ssh-lLm26516/agent.26516
TERM=dumb
HOME=/home/rhursti
OSTYPE=linux-gnu
HOSTTYPE=i386
SHELL=bash
SSH_AGENT_PID=26552
SHLVL=1
LOGNAME=rhursti
DISPLAY=:0.0
MACHTYPE=i386-pc-linux-gnu
USER=rhursti
HOSTDISPLAY=pena:0.0
HOSTNAME=pena
PWD=/home/rhursti
The contents of the .emacs file was
;;;--------------------------------------------------
;;; Global settings
;;;--------------------------------------------------
;; Alter the default behaviour
(setq next-line-add-newlines nil)
(setq make-backup-files nil)
(setq mouse-yank-at-point t)
(setq visible-bell t)
(line-number-mode t)
(column-number-mode t)
;; Enable some commands
(put 'upcase-region 'disabled nil) ; C-x C-u
(put 'downcase-region 'disabled nil) ; C-x C-l
(put 'eval-expression 'disabled nil) ; M-:
(put 'narrow-to-region 'disabled nil) ; C-x n n
;; Enable ISO-8859-1 display
(standard-display-european t)
(set-input-mode nil nil 'dummy)
(cond ((< emacs-major-version 20)
;(require 'iso-insert)
(require 'iso-syntax))
(t
(setq default-enable-multibyte-characters nil)
(set-language-environment "Latin-1")
))
;; Enable Auc-TeX
;;(require 'tex-site)
;; Enable RefTeX
;;(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
;; Enable transparent (de)compression of .gz files
(auto-compression-mode t)
;; Enable colours
(setq global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(turn-on-font-lock)
(show-paren-mode t)
;; merge the info directory
;; Enable javadoc highlighting in C and C++ modes
(let ((javadoc-highlighting
(list
'("@\\(author\\|exception\\|return\\|see\\|version\\)\\>"
(1 font-lock-reference-face prepend))
'("@\\(param\\)\\>[ \t]*\\(\\sw+\\)?"
(1 font-lock-reference-face prepend)
(2 font-lock-variable-name-face prepend t)))))
(setq c-font-lock-keywords-3
(append c-font-lock-keywords-3
javadoc-highlighting))
(setq c++-font-lock-keywords-3
(append c++-font-lock-keywords-3
javadoc-highlighting)))
(setq c++-font-lock-extra-types
'("\\sw+_t"
"\\(\\sw+::\\)*\\(const_\\)?\\(reverse_\\)?iterator"))
;; Inhibit the startup message.
(setq inhibit-startup-message t)
(add-to-list 'auto-mode-alist '("\+\+.*\\.h\\'" . c++-mode))
;; Load the S-Lang mode
(cond ((>= emacs-major-version 20)
(cond ((file-readable-p "~/elisp")
(setq load-path (cons "~/elisp" load-path))
(require 'slang-mode)))))
;;;--------------------------------------------------
;;; Mail and news
;;;--------------------------------------------------
(setq mail-archive-file-name (expand-file-name "~/sent-mail"))
(setq mail-signature t)
(setq mail-header-separator "-- Tarinoi t�m�n per��n. --")
;; SuperCite
(setq mail-indentation-spaces 0)
(autoload 'sc-cite-original "supercite" "Supercite 3.1" t)
(add-hook 'mail-citation-hook 'sc-cite-original)
(setq message-cite-function 'sc-cite-original)
(setq sc-citation-leader "")
;; Gnus
(setq gnus-score-find-score-files-function 'gnus-score-find-bnews)
(setq gnus-read-active-file nil)
(setq gnus-article-display-hook '(gnus-article-strip-leading-blank-lines
gnus-article-remove-trailing-blank-lines
gnus-article-highlight-citation
gnus-article-highlight-signature
gnus-article-highlight-headers
gnus-article-hide-headers-if-wanted
gnus-article-hide-pgp
gnus-article-treat-overstrike
gnus-article-date-local
gnus-article-maybe-highlight
gnus-article-emphasize))
(setq gnus-subscribe-newsgroup-method
'(lambda (newsgroup)
(if (string-match "^^comp\\.\\|^finet\\.\\|^sfnet\\."
newsgroup)
(gnus-subscribe-hierarchically newsgroup))))
(setq gnus-nntp-server "news.inet.fi")
(global-set-key "\C-@" 'comment-region)
(defconst my-c-style
'(
(c-basic-offset 2)
)
"My C Programming Style")
;; Customizations for all of c-mode, c++-mode, and objc-mode
(defun my-c-mode-common-hook ()
;; add my personal style and set it for the current buffer
(c-add-style "PERSONAL" my-c-style t)
;; offset customizations not in my-c-style
(c-set-offset 'member-init-intro '++)
;; other customizations
(setq tab-width 8
;; this will make sure spaces are used instead of tabs
indent-tabs-mode nil)
;; we like auto-newline and hungry-delete
;; (c-toggle-auto-hungry-state 1)
;; keybindings for all supported languages. We can put these in
;; c-mode-base-map because c-mode-map, c++-mode-map, objc-mode-map,
;; java-mode-map, and idl-mode-map inherit from it.
(define-key c-mode-base-map "\C-m" 'newline-and-indent)
)
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
; (defconst my-c-style
; '((c-tab-always-indent . t)
; (c-basic-offset 2)
; (c-comment-only-line-offset . 2)
; (c-hanging-braces-alist . ((substatement-open after)
; (brace-list-open)))
; (c-hanging-colons-alist . ((member-init-intro before)
; (inher-intro)
; (case-label after)
; (label after)
; (access-label after)))
; (c-cleanup-list . (scope-operator
; empty-defun-braces
; defun-close-semi))
; (c-offsets-alist . ((arglist-close . c-lineup-arglist)
; (substatement-open . 0)
; (case-label . 2)
; (block-open . 0)
; (knr-argdecl-intro . -)))
; (c-echo-syntactic-information-p . t)
; )
; "My C Programming Style")
; ;; Customizations for all of c-mode, c++-mode, and objc-mode
; (defun my-c-mode-common-hook ()
; ;; add my personal style and set it for the current buffer
; (c-add-style "PERSONAL" my-c-style t)
; ;; offset customizations not in my-c-style
; (c-set-offset 'member-init-intro '++)
; ;; other customizations
; (setq tab-width 8
; ;; this will make sure spaces are used instead of tabs
; indent-tabs-mode nil)
; ;; we like auto-newline and hungry-delete
; (c-toggle-auto-hungry-state 1)
; ;; keybindings for all supported languages. We can put these in
; ;; c-mode-base-map because c-mode-map, c++-mode-map, objc-mode-map,
; ;; java-mode-map, and idl-mode-map inherit from it.
; (define-key c-mode-base-map "\C-m" 'newline-and-indent)
; )
; (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
;; Indent offset to 2 for java
;; (defun java-mode-hook ()
;;(setq c-basic-offset 2)
;;)
(autoload 'cvs-update "pcl-cvs" nil t)
(setq debug-on-error t)
;; 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)
; (custom-set-variables
; '(jde-build-use-make t)
; '(jde-quote-classpath t)
; '(jde-compiler "javac")
; ;; '(jde-global-classpath (quote ("")))
; '(jde-enable-abbrev-mode t))
; (custom-set-faces)
(custom-set-variables
'(jde-project-context-switching-enabled-p nil)
'(jde-auto-parse-enable nil)
'(jde-run-read-vm-args nil)
'(jde-db-read-vm-args nil)
'(jde-setnu-mode-enable nil)
'(jde-bug-jdk-directory "/usr/jdk1.2.2")
'(jde-build-use-make t)
'(jde-quote-classpath nil)
'(jde-run-read-app-args nil)
'(jde-db-set-initial-breakpoint nil)
'(jde-read-make-args nil)
'(jde-use-font-lock nil)
'(jde-imenu-include-signature nil)
'(jde-enable-abbrev-mode t)
'(jde-gen-cflow-try (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l
\"try\")" "'(l '> \"try \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n'>'r'n" "\"} catch(Exception) {\"'>'n'>" "'>'n'>" "\"}\"'>'n'>)"
")")))
'(jde-db-read-app-args nil)
'(jde-read-compile-args t)
'(jde-imenu-enable t)
'(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set)
("toString method" . jde-gen-to-string-method) ("Action Listener" .
jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener)
("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" .
jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class)
("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change
support" . jde-gen-property-change-support) ("EJB Entity Bean" .
jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean))))
'(jde-imenu-include-classdef nil)
'(jde-run-classic-mode-vm nil))
(custom-set-faces)
=====end inserted .emacs file