agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Testing PL/Java Windows binaries
Date: Fri, 29 Apr 2011 23:37:02 +0200
Message-ID: <DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl> (raw)
In-Reply-To: <op.vupxdxifuxs6vk@localhost>
References: <op.vups9tt6uxs6vk@localhost>
	<DUB101-w179B0D2EFD88B79010FC09D39A0@phx.gbl>
	<op.vupxdxifuxs6vk@localhost>


Still no.
now I get this error:
C:\Program Files\PostgreSQL\9.0\bin>psql -U postgres -f C:\jaspa4pg\sql\pljavainstall.sql -d jaspatemplate1Password for user postgres:CREATE SCHEMAGRANTpsql:C:/jaspa4pg/sql/pljavainstall.sql:6: ERROR:  could not load library "c:/jaspa4pg/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/clientnow with jre 64 bits I had to change ...jre/bin;jre/bin/serverbut 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110429/5194ca21/attachment.html;



view thread (8+ messages)  latest in thread

Message-ID: <DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl>
Permalink:  ../DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl/
Also on:    postgresql.org/message-id/DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl

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: <DUB101-w494B6F782C44CBE335F4E6D39A0@phx.gbl>

* 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