|
From: Slava P. <sl...@je...> - 2004-02-22 04:00:59
|
You need to put the nb_peg.jar file in <user.home>\.jedit\jars.
On Fri, 2004-02-20 at 02:47, Rudolf Widmann wrote:
> Hi,
> I want to access a java package which is contained in an external .jar-file. I tried in a bsh-macro:
>
> addClassPath("d:\\local\\integration\\ext\\lib\\nb_peg.jar");
> import nbpeg.utilities.common.*;
> v = FileUtilities.getMatchingFiles("d:\\temp", "MTI*.cfg");
>
> The first two lines are accepted, but line 3 failes with "undefined variable or class name"
>
> When I try the same with the beanshell workspace (bsh20b1.1) it works without problems.
>
> How do I have to add a classpath in jEdit (4.2pre9)
>
> Regards Rudi
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
Slava Pestov
|