pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Subject: [Pljava-dev] PLJava Installation problem:ERROR: could not load library "C:/PLJava/libpljava.dll":
Date: Fri, 25 Feb 2005 08:05:12 +0100
Message-ID: <thhal-0q2b6Ar/1xicH+xj1lZDo7JKUsB5pw0@mailblocks.com> (raw)
In-Reply-To: <20050225040010.1121.qmail@webmail13.mesa1.secureserver.net>
References: <20050225040010.1121.qmail@webmail13.mesa1.secureserver.net>
	<421ECE28.1050109@mailblocks.com>
	<thhal-0qmb6Ar31xicKy5UTXuVJiPJIcOqRYh@mailblocks.com>

sudagar.sundaram at irbsolutions.com wrote:

> Hi,
>  
> I'm getting the following exception while trying to install PLJava. 
> I'm running PostgreSQL 8.0.
>  
> OS: Windows XP.
>  
> Here are my settings:
>  
> dynamic_library_path = 'C:\\PLJava'
> custom_variable_classes = 'pljava'
> pljava.classpath = 'C:\\PLJava\\pljava.jar'
> PATH env. variable has C:\j2sdk1.4.2_07\jre\lib\i386;
>  
> CLASSPATH has 
> C:\postgresql-8.0-310.jdbc3\postgres_driver.jar;C:\PLJava\deploy.jar;C:\PLJava\pljava.jar
>  
> Any ideas what's wrong?
>  
> java.sql.SQLException: ERROR: could not load library 
> "C:/PLJava/libpljava.dll":
> dynamic load error
>  

Your path doesn't list the location of the JVM binaries. Drop 
C:\j2sdk1.4.2_07\jre\lib\i386 and instead try:

C:\j2sdk1.4.2_07\jre\bin\client;C:\j2sdk1.4.2_07\jre\bin

Regards,
Thomas Hallgren






view thread (2+ messages)

Message-ID: <thhal-0q2b6Ar/1xicH+xj1lZDo7JKUsB5pw0@mailblocks.com>
Permalink:  ../thhal-0q2b6Ar%2F1xicH+xj1lZDo7JKUsB5pw0@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-0q2b6Ar/1xicH+xj1lZDo7JKUsB5pw0@mailblocks.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] PLJava Installation problem:ERROR: could not load library "C:/PLJava/libpljava.dll":
  In-Reply-To: <thhal-0q2b6Ar/1xicH+xj1lZDo7JKUsB5pw0@mailblocks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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