Re: Jar files in global classpath

"Suraj Acharya" <[email protected]>
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
On 3/6/06, Wolfgang Pausch <[email protected]> wrote:
>
> Hello,
>
> one question: I had the following jde-global-classpath:
>
> ("~/da/pausch/classes" "~/da/pausch/lib/colt.jar")
>
> jde-compile-option-classpath is nil.
> jde-expand-classpath-p is at its standard setting (t)
> jde-lib-directory-names is at its standard setting
>
> When I tried to compile the project, it didn't find any of the classes
> defined
> in colt.jar.  Eventually, I simply unzipped it and put the resulting
> directories into the classes-directory. And it worked!
>
> I also tried the version with simply giving ~/da/pausch/lib instead
> of .../lib/colt.jar, but there was no difference.
>
> Question: Should the above setup work? How should I include jar files into
> the
> classpath?



jar files are definitely allowed in jde-global-classpath.

What jde command are you using to compile your project? Try to go the
compilation buffer and check if the javac command for your compilation is
what you expect it to be. Run the compilation from the command line to
verify that it works.

If you think it might be a JDE bug, submitting a problem report to the list
will help in figuring out what the issue is.

Suraj
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.