[Pljava-dev] Error in install_jar-ing examples

Thomas Hallgren thhal at mailblocks.com
Thu Jul 1 09:32:26 UTC 2004


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




More information about the Pljava-dev mailing list