Heather Buch writes:
 > Hello,
 > 
 > A few questions on setting the classpath in jde:
 > 
 > 1) Do I need to set the path to the jdk libraries themselves? (I guess
 > this would be something like
 > /var/local/https-1.0/java/jdk1.3.1_01/lib, or
 > /var/local/https-1.0/java/jdk1.3.1_01/jre/lib) in
 > order to get auto-completion on stuff like java.io or java.util? Or is
 > there another variable I need
 > to set to tell jde where the jdk (and therefore it's libraries) is?
 > 

Heather,

You should not need to include the JDK rt.jar file explicitly in jde-global-classpath 
to get completion on the standard JDK classes, at least 
I don't need to do this in the latest beta of the JDE.

BTW, I recommend that you upgrade to the latest beta version of the
JDE. It is stable and easier for me to support because I cannot
remember the limitations of JDE 2.2.8. I need to release 2.2.9 because
it is now light years beyond JDE 2.2.8 in capabilities and features.


 > 2) I have done the following to construct a classpath for my project:
 > 
 > set a project-specific global classpath and saved it "for this session
 > only"
 > saved my project file to write my project-specific classpath permanently
 > for my project
 > set a default global classpath and saved it for future sessions
 > 
 > When I open my project, is my classpath only the one that I saved to my
 > project file, or does
 > it include the default global classpath that I saved for future
 > sessions, as well?

The settings in the project file override the settings in your .emacs file.

 > 
 > I would like to have the latter, a default global classpath for all
 > projects, and project specific global classpaths that get appended to
 > the dafault global classpath.
 > 

This is not easy. It requires some Lisp programming.

 > 3) Though I have set my classpaths as instructed in the manual, like
 > this:
 > 
 > Jde Global Classpath: [Hide]
 > [INS] [DEL] Path: /var/local/https-1.0/java1.3/lib/
 > [INS] [DEL] Path: /var/local/https-1.0/java1.3/jre/lib
 > 
 > I don't get any response when I attempt to use auto-complete on
 > something like java.io. Is there something different that I need to do
 > to get auto-complete on the core java classes? I have a feeling there
 > is.
 > 

I don't need to do this in JDE 2.2.9 beta8. It may be necessary to
include rt.jar in jde-global-classpath if you ar using JDE 2.2.8.

- Paul

Reply via email to