agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Error in install_jar-ing examples
Date: Thu, 01 Jul 2004 11:32:26 +0200
Message-ID: <40E3DA2A.5070508@mailblocks.com> (raw)
In-Reply-To: <20040701092328.GB12913@guadiana.unex.es>
References: <20040701092328.GB12913@guadiana.unex.es>

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





view thread (2+ messages)

Message-ID: <40E3DA2A.5070508@mailblocks.com>
Permalink:  ../40E3DA2A.5070508@mailblocks.com/
Also on:    postgresql.org/message-id/40E3DA2A.5070508@mailblocks.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Error in install_jar-ing examples
  In-Reply-To: <40E3DA2A.5070508@mailblocks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox