> I'm wondering if the following is possible:
>
> We have a SUN Solaris system, where our java-sources reside. These =
> sources are
> also compiled to *.class files with the SUN-JDK and reside also onto =
> the Solaris system.
>
> But we want to use JDE with NTEmacs 21.1. onto Windows NT 4.0 and edit =
> the
> java-sources onto the SUN-system via SAMBA mounted drives.
>
> Ok, editing works fine, no problem.
> But now i have tried to use the field-completion of the =
> Windows-NT-JDE/Beanshell
> with our SUN/Solaris-compiled java-sources.
> IMHO i have set CLASSPATH onto the NT-system correct so it should find =
> the
> class-files. I have also set jde-db-source-directories to the =
> class-files (is this
> necessary? Which variable of JDE must point to the compiles class-files =
> so the
> method-completion works?).
In order for the completion to work correctly check the beanshell path.
The *.class must exist in the path of the beanshell when it is started.
>
> But sometimes it finds the class and completes correct, sometimes it =
> don't find
> it and asks to attempt to import it (after y it finds it), but =
> sometimes the Beansshell
> throws an error in jde.util:
> Expression: =
> jde.util.Completion.getClassInfo("de.hvb.ha.adapter.bloomberg.BloombergP=
> arams",0);
> Error: // Error: // Uncaught Exception: TargetError : at Line: 30 : =
> in file: <unknown file> : jde .util .Completion .getClassInfo ( =
> "de.hvb.ha.adapter.bloomberg.BloombergParams" , 0 )=20
> Target exception: java.lang.NoClassDefFoundError: =
> javax/ejb/EJBException
> [2 times]
> bsh-eval: Beanshell eval error. See messages buffer for details.
>
> OK: Should it be possible to complete with NT-beansshell/JDE =
> SUN/Solaris sources?
Yes, you should be able to do it.
> What can be the reason for the beanshell error above?
1. The class BloombergParams cannot be reach from the beanshell classpath.
2. The class BloombergParams can be reach from the beanshell classpath but it
did not exist when the beanshell was started.
Javier
> Thanks in advance!
> Klaus