Loading pljava: specified module could not be found

From: "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Loading pljava: specified module could not be found
Date: 2008-03-07 15:58:35
Message-ID: 1A6E6D554222284AB25ABE3229A927627156EC@nrtexcus702.int.asurion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Version: 8.3
Platform: Windows
Installation: Clicked the pl/java checkbox on installation
Postgresql.conf changes
custom_variable_classes = 'pljava'
pljava.classpath='C:\\Program
Files\\PostgreSQL\\8.3\\share\\pljava.jar'
OS Path: I added C:\Program Files\Java\jdk1.6.0_02\jre\bin\client and
this is where my jvm.dll file is.

Executing:
CREATE SCHEMA sqlj;

CREATE FUNCTION sqlj.java_call_handler()
RETURNS language_handler AS 'pljava'
LANGUAGE C;

ERROR: could not load library "C:/Program
Files/PostgreSQL/8.3/lib/pljava.dll": The specified module could not be
found.

********** Error **********

ERROR: could not load library "C:/Program
Files/PostgreSQL/8.3/lib/pljava.dll": The specified module could not be
found.
SQL state: 58P01

I confirmed that pljava.dll is in that directory so it must be a
dependency problem.

Bug #3897 indicates this was a problem for 8.3RC3. Was this fixed in
the final release?

Jon

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-03-07 16:07:17 Re: Error during hash index scans can cause postgres halt!
Previous Message Heikki Linnakangas 2008-03-07 15:25:08 Re: Error during hash index scans can cause postgres halt!