On Sat, Mar 14, 2009 at 04:02:00PM +0000, Henry S. Thompson wrote:
> Gary writes:
>
> > (Just quickly looking at that, it isn't something to do with the mixed
> > cygwin and Windows paths, is it? I wouldn't expect Java to understand
> > /home/gary/... for example. Have I forgotten to configure something?)
>
> Actually, Java understands those just fine. Here's my setup, which
> works for me (in xemacs, but shouldn't be very different for emacs):
>
> [in prj.el]
>
> (jde-set-variables
> '(jde-jdk-registry (quote (("1.4.2" . "/c/Program Files/j2sdk1.4.2")
> ("1.5.0" . "/c/Program Files/j2sdk1.5.0"))))
Huh? How does that work? If I do
$ /c/Programme/Develop/Java/1.5se/bin/java.exe
bash: /c/Programme/Develop/Java/1.5se/bin/java.exe: No such file or directory
which is what I would expect without the /cygdrive/. Do you have a
symbolic link mapped or some such?
> '(jde-build-function (quote (jde-ant-build)))
It might work for you because you are using ant. Does it work for you
without ant, say using jde-make?
> The result is (*JDEE bsh*):
> /c/Program Files/j2sdk1.5.0/bin/java -classpath
> d:/.xemacs/site-lisp/jdee/jde/java/lib/bsh.jar;d:/.xemacs/site-lisp/jdee/jde/java/bsh-commands;d:/.xemacs/site-lisp/jdee/jde/java/lib/checkstyle-all.jar;d:/.xemacs/site-lisp/jdee/jde/java/lib/jakarta-regexp.jar;d:/.xemacs/site-lisp/jdee/jde/java/lib/jde.jar;c:/Program
>
> Files/j2sdk1.5.0/lib/tools.jar;d:/.xemacs/site-lisp/jdee/jde/plugins/usages/classes;d:/.xemacs/site-lisp/jdee/jde/plugins/usages/lib/usages.jar;d:/MT/source/debug;d:/MT/source/3rdparty/jh.jar;d:/MT/source/3rdparty/jsearch.jar
> bsh.Interpreter
I think something else must be different as well, because having adapted
your settings slightly I get
cd /home/gary/src/learn-jdee/src/
/cygdrive/c/Programme/Develop/Java/1.5se/bin/java -classpath
/usr/share/emacs/site-lisp/jde/java/lib/bsh.jar;/usr/share/emacs/site-lisp/jde/java/bsh-commands;/usr/share/emacs/site-lisp/jde/java/lib/checkstyle-all.jar;/usr/share/emacs/site-lisp/jde/java/lib/jakarta-regexp.jar;/usr/share/emacs/site-lisp/jde/java/lib/jde.jar;c:\Programme\Develop\Java\1.5se\lib\tools.jar;/home/gary/src/learn-jdee/.:/cygdrive/c/Programme/Java/jre1.5.0_12/lib/ext/QTJava.zip
bsh.Interpreter
java.lang.NoClassDefFoundError: bsh/Interpreter
Exception in thread "main"
Process bsh exited abnormally with code 1
How come your setup is converting the -classpath and mine is not?
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users