agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Install ERROR: could not load library
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Install ERROR: could not load library
@ 2005-09-20 10:05 
  2005-09-20 10:13 ` [Pljava-dev] Install ERROR: could not load library 
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2005-09-20 10:05 UTC (permalink / raw)

I try to install PLJava with

	WindowsXP
	PostgreSQL 8.1 beta2

I have modified postgresql.conf

	
	dynamic_library_path = '$libdir;C:\\Program Files\\PLJava'
	...
	custom_variable_classes = 'pljava'
	pljava.classpath = 'C:\\Program Files\\PLJava\\pljava.jar'	
	...

And I add to my "path" environment the folder

	C:\Program Files\PLJava

But i have always this error when I run 

	java -cp deploy.jar;..\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar org.postgresql.pljava.deploy.Deployer -install -user
postgres -password postgres -database TEST


org.postgresql.util.PSQLException: ERROR: could not load library "C:/Program Files/PLJava/libpljava.dll": The specified procedure
could not be found.



What i missing????





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [Pljava-dev] Install ERROR: could not load library
  2005-09-20 10:05 [Pljava-dev] Install ERROR: could not load library 
@ 2005-09-20 10:13 ` 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2005-09-20 10:13 UTC (permalink / raw)

Does the PATH that the PostgreSQL backend use include <jre>/bin/client 
and <jre>/bin ?

<jre> in your case is probably something like "C:\Program 
Files\Java\jdk1.5.0_04\jre"

Regards,
Thomas Hallgren

Maurizio Merli wrote:

>I try to install PLJava with
>
>	WindowsXP
>	PostgreSQL 8.1 beta2
>
>I have modified postgresql.conf
>
>	
>	dynamic_library_path = '$libdir;C:\\Program Files\\PLJava'
>	...
>	custom_variable_classes = 'pljava'
>	pljava.classpath = 'C:\\Program Files\\PLJava\\pljava.jar'	
>	...
>
>And I add to my "path" environment the folder
>
>	C:\Program Files\PLJava
>
>But i have always this error when I run 
>
>	java -cp deploy.jar;..\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar org.postgresql.pljava.deploy.Deployer -install -user
>postgres -password postgres -database TEST
>
>
>org.postgresql.util.PSQLException: ERROR: could not load library "C:/Program Files/PLJava/libpljava.dll": The specified procedure
>could not be found.
>
>
>
>What i missing????
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>  
>






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-09-20 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 10:05 [Pljava-dev] Install ERROR: could not load library 
2005-09-20 10:13 ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox