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

Thomas Hallgren thhal at mailblocks.com
Fri Feb 25 07:05:12 UTC 2005


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





More information about the Pljava-dev mailing list