[Pljava-dev] Error in install_jar-ing examples

From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] Error in install_jar-ing examples
Date: 2004-07-01 09:32:26
Message-ID: 40E3DA2A.5070508@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Alberto Cabello Sanchez wrote:

>Hi everybody,
>I have just installed PL/Java 1.0.0, and all was fine after setting correct
>values for LD_LIBRARY_PATH, dynamic_library_path and CLASSPATH, but
>when I try (as suggested)
>
>SELECT
> sqlj.install_jar('samples',
> 'file:///home/alberto/src/pljava-1.0.0/examples.jar',
> true);
>
>I get an SQLException complaining about
>'file:///home/alberto/src/pljava-1.0.0/examples.jar'
>not being a valid name.
>
>How is supposed a valid name to look like?
>
>Thank you.
>
>
>
Alberto,

You've encountered a bug in the example doc. Starting with 1.0.0.b3
(which I assume you are using), I adjusted the order of arguments to
conform to the proposed standard. Swap the first two arguments. The URL
should be placed first, the 'samples' second.

I'll fix the sample docs. Thanks for pointing it out.

Kind regards,

Thomas Hallgren

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2004-07-04 22:41:01 [Pljava-dev] Upcoming features
Previous Message Alberto Cabello Sanchez 2004-07-01 09:23:28 [Pljava-dev] Error in install_jar-ing examples