At 02:26 PM 8/9/99 -0400, Peter Brown wrote:
>I find jde-help-class works perfectly for classes in the java.*
>hierarchy. (It's an awesome feature, BTW!) For classes *outside* that
>hierarchy, however (e.g., javax.vecmath.*), it doesn't work at all. A
>little work with edebug in jde-help.el shows that the bsh-eval-r near
>the top of jde-help-class is returning nothing for classes outside
>java.*; it returns the Right Thing for classes in the java.* hierarchy,
>of course. Importing the relevant classes into the bsh process (in the
>*bsh* buffer) makes no difference. (I have little-to-no experience with
>the bsh, though.)
>
>I've attached my .emacs and a Java file which demonstrates the problem.
>I'd be happy to try to provide a more minimal example (my .emacs is
>distinctly crufty by now, I'm afraid) if that would be helpful; just let
>me know.
>
>Peace,
>--Peter
>
>JDE 2.1.6beta4, NTEmacs 20.4.1, Windows 98, JavaSoft JDK 1.2.2
>
>BeanShell 0.96 beta - by Pat Niemeyer ([EMAIL PROTECTED])
>bsh % print(System.getProperty("java.class.path"));
>c:/PHB/public/phb-lisp/jde-2.1.6beta4/java/lib/jde.jar;c:/PHB/public/phb-li
sp/jde-2.1.6beta4/java/lib/bsh.jar;c:/PHB/public/java;.
>
>(The Java3D .jar file is installed as an extension in the jre/lib/ext
>directory; it *is* on the classpath.)
Hi Peter,
Try including the Java3D.jar file explicitly on your classpath. If I recall
correctly, you can't assume that the BeanShell knows about JKK 1.2.2's
default classpaths. I think some time ago I had to get the BeanShell's
author to update the BeanShell to deal with JDK 1.2.x's implicit inclusion
of rt.jar. I doubt that he did anything about extensions.
Anyway, this is a wild guess, but I think it's worth a try.
- Paul