agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Testing PL/Java Windows binaries
Date: Fri, 29 Apr 2011 14:55:49 -0700
Message-ID: <4DBB33E5.2030604@gmail.com> (raw)
In-Reply-To: <DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl>
References: <op.vups9tt6uxs6vk@localhost>
<DUB101-w179B0D2EFD88B79010FC09D39A0@phx.gbl>
<op.vupxdxifuxs6vk@localhost>
<DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl>
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
> > <jcllario at hotmail.com> 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: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110429/92738486/attachment.html;
view thread (8+ messages) latest in thread
Message-ID: <4DBB33E5.2030604@gmail.com>
Permalink: ../4DBB33E5.2030604@gmail.com/
Also on: postgresql.org/message-id/4DBB33E5.2030604@gmail.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] Testing PL/Java Windows binaries
In-Reply-To: <4DBB33E5.2030604@gmail.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