From: thhal at mailblocks.com (Thomas Hallgren) Date: Thu, 01 Jul 2004 11:32:26 +0200 Subject: [Pljava-dev] Error in install_jar-ing examples In-Reply-To: <20040701092328.GB12913@guadiana.unex.es> References: <20040701092328.GB12913@guadiana.unex.es> Message-ID: <40E3DA2A.5070508@mailblocks.com> 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