Hi all - I'm new to the JDE, so bear with me if this is a FAQ or I've
missed something...
Anyway, I've just downloaded the JDE, and while most of it runs fine on my
system, I had some problems with the "Help/Symbol at Point" command. It
worked fine for the standard Java API, and fine for normal add-on packages
in my classpath. However, it didn't work for Java3d classes - even though
Java can talk to those classes with no problems.
(Quick setup info - I'm using JDE 2.1.6, Java 1.2, on a Win98 box, with
Emacs 20.5.1)
After some digging, I traced the problem down to the JdeUtilities class,
specifically the buildClassList() method. It gets the directories to
search from two settings, System.getProperty("java.class.path") and
System.getProperty("sun.boot.class.path").
After some *more* digging, I found the following:
http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/migration.html
"The second place where java looks for classes is the extension
directories. The list of directories can be examined by calling
System.getProperty("java.ext.dirs")."
So it looks like buildClassList() should also look at this property for
classes.
This is also mentioned in
http://java.sun.com/products/jdk/1.2/docs/tooldocs/findingclasses.html
which says :
"Extension classes are classes which extend the Java platform. Every .jar
file in the extension directory, jre/lib/ext, is assumed to be an extension
and is loaded using the Java Extension Framework.
Loose class files in the extension directory will not be found. They must
be contained in a .jar file (or .zip file). There is no option provided for
changing the location of the extension directory."
For now, I've got a workaround - I just added all the .jar files in the
above path to my CLASSPATH. However, it'd be nice if the JDE did this
automatically!
-Korny
--
life is like an analogy...
-- Kornelis Sietsma [EMAIL PROTECTED] www.sietsma.com/korny icq:2039172