[Pljava-dev] PLJava Installation problem:ERROR: could not load library "C:/PLJava/libpljava.dll":

From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] PLJava Installation problem:ERROR: could not load library "C:/PLJava/libpljava.dll":
Date: 2005-02-25 07:05:12
Message-ID: thhal-0q2b6Ar/1xicH+xj1lZDo7JKUsB5pw0@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-02-25 23:26:36 [Pljava-dev] PLJava 1.1.0b1 released
Previous Message sudagar.sundaram at irbsolutions.com 2005-02-25 04:00:10 [Pljava-dev] PLJava Installation problem:ERROR: could not load library "C:/PLJava/libpljava.dll":