From: eric.kolotyluk at gmail.com (Eric Kolotyluk) Date: Fri, 29 Apr 2011 14:55:49 -0700 Subject: [Pljava-dev] Testing PL/Java Windows binaries In-Reply-To: References: , , Message-ID: <4DBB33E5.2030604@gmail.com> I'm having similar problems. I'm using pljava.dll from 2011-04-18 and I am getting ERROR: could not load library "C:.../Postgres/lib/pljava.dll": The specified module could not be found. When I open the DLL with DependencyWalker it is trying to link the DLL against 64-bit DLLs. This was exactly the same problem I had back in January. As I discovered back then, this DLL runs fine on 32-bit Windows, but fails on 64-bit windows. My default JRE is 32-bit So, now I'm wondering if I can get a copy of the 64-bit version of pljava.dll so I can test that. Cheers, Eric On 2011-04-29 2:37 PM, JOSE CARLOS MARTINEZ LLARIO wrote: > Still no. > > now I get this error: > > C:\Program Files\PostgreSQL\9.0\bin>psql -U postgres -f > C:\jaspa4pg\sql\pljavain > stall.sql -d jaspatemplate1 > Password for user postgres: > CREATE SCHEMA > GRANT > psql:C:/jaspa4pg/sql/pljavainstall.sql:6: ERROR: could not load > library "c:/jas > pa4pg/lib/pljava.dll": The specified module could not be found. > > > > Important to mention that with pljava 32 bits I had in my enviroment > path variable: ...jre/bin;jre/bin/client > now with jre 64 bits I had to change ...jre/bin;jre/bin/server > but still getting the above error. > > I have always installed pljava in windows as im doing now without any > problen. > some ideas what im doing wrong? > > Im still checking things > > > > > To: pljava-dev at pgfoundry.org > > Date: Fri, 29 Apr 2011 21:16:35 +0000 > > From: johann at 2ndquadrant.com > > Subject: Re: [Pljava-dev] Testing PL/Java Windows binaries > > > > Hi Jose, > > > > On Fri, 29 Apr 2011 21:13:04 -0000, JOSE CARLOS MARTINEZ LLARIO > > wrote: > > > > > > > > Hi Johann, > > > > > > This is the error I get: > > > psql:C:/jaspa4pg/sql/pljavainstall.sql:6: ERROR: could not load > library > > > "c:/jaspa4pg/lib/pljava.dll": %1 is not a valid Win32 application. > > > > > > kind of weird because it said 'not valid Win32 application' !! > instead > > > of not valid win64 application. > > > Im using JRE 32 bits version..Should I use JRE 64 bits version? > > > cheers, > > > > Yes, you need a 64bit JRE. > > > > > > Good luck, > > > > -- > > Johann Oskarsson http://www.2ndquadrant.com/ |[] > > PostgreSQL Development, 24x7 Support, Training and Services --+-- > > | > > Blog: http://my.opera.com/myrkraverk/blog/ > > _______________________________________________ > > Pljava-dev mailing list > > Pljava-dev at pgfoundry.org > > http://pgfoundry.org/mailman/listinfo/pljava-dev > > > _______________________________________________ > Pljava-dev mailing list > Pljava-dev at pgfoundry.org > http://pgfoundry.org/mailman/listinfo/pljava-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: