AW: How to use jikes
Create an environment variable with the name JIKESPATH and add tools.jar and rt.jar to it (just like in the CLASSPATH variable). -Ursprüngliche Nachricht- Von: Martin Monsorno [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 31. Juli 2003 17:12 An: [EMAIL PROTECTED] Betreff: How to use jikes Hi *, I want to use jikes to compile my classes, but it complains that it does not find the java standard library classes. The compilation buffer says: , | cd /home/monsorno/java | jikes -classpath /home/monsorno/java/lib/bla.jar -sourcepath /home/monsorno/java/src -d /home/monsorno/java/classes Dings.java | | Found 2 system errors: | | *** Error: Could not find package java/util in: | /home/monsorno/java/lib/bla.jar ` Must I add $JAVA_HOME/jre/lib/rt.jar manually to my project's classpath? And if yes, how can I use $JAVA_HOME to make it independant from my local environment? Or wouldn't it be better if JDEE would add this automatically to the classpath, if jikes is set as the compiler? (I'm using xemacs 21.4.13 on Linux, JDEE 2.2.8 and jikes 1.15) -- Martin
jde-complete with J2ME classes
Hi, with several (not all!) classes from the the J2ME SDK I get an error when I try to use jde-complete. The J2ME classes are in my jde-global-classpath. Is this a configuration problem on my side or a not (yet ;-)) supported feature of JDE. Regards, juergen = OUTPUT ON MESSAGE BUFFER: = Beanshell expression evaluation error. Expression: jde.util.Completion.getClassInfo(javax.microedition.lcdui.List,0); Error: // Error: // Uncaught Exception: Method Invocation jde.util.Completion.getClassInfo : at Line: 3 : in file: unknown file : jde .util .Completion .getClassInfo ( javax.microedition.lcdui.List , 0 ) Target exception: java.lang.UnsatisfiedLinkError: init java.lang.UnsatisfiedLinkError: init at javax.microedition.lcdui.Font.init(Native Method) at javax.microedition.lcdui.Font.init(Font.java:148) at javax.microedition.lcdui.Font.clinit(Font.java:389) at javax.microedition.lcdui.Screen.clinit(Screen.java:72) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at jde.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:99) at jde.util.Completion.getClassInfo(Completion.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at bsh.Reflect.invokeMethod(Unknown Source) at bsh.Reflect.invokeStaticMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.run(Unknown Source) at bsh.Interpreter.main(Unknown Source) Beanshell eval error. See messages buffer for details. === JDE BUG REPORT: === To: [EMAIL PROTECTED] Subject: --text follows this line-- Please enter the details of your bug report here Emacs : GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy Package: JDE version 2.3.2 Required packages: semantic-1.4.4 eieio-0.17 speedbar-0.14beta4 current state: == (setq jde-gen-session-bean-template '((jde-import-insert-imports-into-buffer (list \javax.ejb.*\ \java.rmi.RemoteException\)) ' (jde-wiz-update-implements-clause \SessionBean\) ' (jde-gen-method-signature \public\ \void\ \ejbActivate\ nil \RemoteException\ ) ' (if jde-gen-kr () 'n) \{\''n \}\''n 'n (jde-gen-method-signature \public\ \void\ \ejbPassivate\ nil \RemoteException\ ) ' (if jde-gen-kr () 'n) \{\''n \}\''n 'n (jde-gen-method-signature \public\ \void\ \ejbRemove\ nil \RemoteException\ ) ' (if jde-gen-kr () 'n) \{\''n \}\''n 'n (jde-gen-method-signature \public\ \void\ \setSessionContext\ \SessionContext ctx\ \RemoteException\ ) ' (if jde-gen-kr () 'n) \{\''n \}\''n 'n (jde-gen-method-signature \public\ \void\ \unsetSessionContext\ nil \RemoteException\ ) ' (if jde-gen-kr () 'n) \{\''n \}\''n 'n ') jde-gen-beep '((end-of-line) ' \Toolkit.getDefaultToolkit().beep();\''n') jde-complete-signature-display '(Eldoc) jde-project-name default jde-which-method-format '([ jde-which-method-current ]) jde-run-classic-mode-vm nil jde-complete-unique-method-names nil jde-find-granularity '(Character) jde-which-method-max-length 20 jde-javadoc-gen-nodeprecatedlist nil jde-imenu-include-classdef t jde-javadoc-gen-link-online nil jde-complete-display-result-type t 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)
AW: EOF problem with stored jde-key-bindings
Paul and Ole, thanks for your help: to clarify the question: in my .emacs the ^Z is ONE character. If I move the cursor in my favourite editor over the ^Z the cursor jumps over both (caret and Z). So in the .emacs file a EOF character is stored (as far as I understand this). I changed my .emacs the way Ole suggested and everything works fine. Paul: The [?^C ?^V ?^Z] sequence came from calling customize-variable jde-key-bindings, changing something (not the thing with ^Z) and Save for Future Sessions. All keybindings were written to .emacs and not only my changes. juergen -Ursprüngliche Nachricht- Von: Paul Kinnucan [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 14:07 An: Ole Arndt Cc: Albert, Jürgen; [EMAIL PROTECTED] Betreff: Re: EOF problem with stored jde-key-bindings Ole Arndt writes: Hello, Paul Kinnucan [EMAIL PROTECTED] writes: Albert, Jürgen writes: I am trying to check in a .emacs file with CVS. My .emacs contains the stored jde-key-bindings in the following format: '(jde-key-bindings (quote (([?^C ?^V ?^Z] ... Unfortunatelly CVS stops at the ^Z character (yes ***one*** character and perhaps EOF?) and only half of my .emacs gets into the CVS repository. Odd. Why would CVS interpret ^Z as a single control character instead of two noncontrol characters (i.e., caret and Z)? Paul, when you press \C-q \C-z emacs inserts a Control-Z (EOF) control character into the file. This might be the case here. Yes, but that is not what is happening in Albert's case as far as I can see. In his case the Emacs customization code is writing the keybinding into his .emacs file, using the two noncontrol characters '^' and 'Z' to represent the single charcter Control-Z. I don't know why this should cause a problem for CVS. An alternative way of defining it, which works with emacs and xemacs is: [(control c) (control v) (control z)] that's what we use here. That is what jde.el uses also for some keybindings. - Paul Ole -- Ole Arndthttp://www.sugarshark.com ---
pwd entry for jde-global-classpath
Is it possible to set an entry in jde-global-classpath that points to the current working directory (the directory where the buffer's file resist while I hit c-c c-v c-r). If I put an entry . in jde-global-classpath it will be expanded to the directory where prj.el resists (which is not the directory I want).
Problems calling jde-bug-display-variable
Hi, I am wondering if the function' jde-bug-display-variable' normally should display the value of a (local) variable? In my installation it causes the following lisp error (with cursor at a variable named 'character'): Debugger entered--Lisp error: (wrong-type-argument integerp character) mapconcat(identity ((character variable int nil nil nil (...) [4031 4045])) .) (jde-bug-evaluate-expression (mapconcat (quote identity) qualified-expr .)) (if qualified-expr (jde-bug-evaluate-expression (mapconcat ... qualified-expr .))) (let ((qualified-expr ...)) (if qualified-expr (jde-bug-evaluate-expression ...))) jde-bug-display-variable() My installation: NTEmacs 21.2.1 jde-2.2.9 semantic-1.4 speedbar-0.14beta4 elib-1.0 eieio-0.17 Any hint appreciated. Thanks, juergen
JDE and ANT
When I try to start JDE-Build with ANT I get the error: Wrong type argument: char-or-string-p, nil jde-build-function is set to jde-ant-build in my .emacs: '(jde-build-function (quote (jde-ant-build))) trying to start the Lisp debugger (Options-Enter Debugger on Error set) results in a total Emacs crash. I am using NTEmacs 21.2 Did I forget to configure something else? Thanks for any hint, juergen
local-set-key for Menu Classes - classes
is it possible to set a key (stroke) to the menu command Classes - Classes - I like this feature very much but dislike it to get a command only with the mouse. Thanks for any hint, juergen