[Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM

Guy Rouillier guy-rouillier at speakeasy.net
Sat Feb 12 22:08:46 UTC 2005


On Fri, 11 Feb 2005 19:15:59 -0600
Victor <victor.perez at e-evolution.com.mx> wrote:

> java.sql.SQLException: ERROR: could not load library
> Linux vpj 2.6.8-24.11-default #1 Fri Jan 14 13:01:26 UTC 2005 x86_64
> x86_64 x86_64 GNU/Linux

This tells me you are on an AMD64 platform.

> LD_LIBRARy_PATH=/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386

But you are trying to load 32-bit libraries.

Did you build PostgreSQL and PL/Java from source or are you running
binaries?  Are you running a 32-bit or 64-bit Java?

I'm running PostgreSQL and PL/Java that I compiled from source on an
AMD64 Linux 64-bit platform (Gentoo) with the Sun Java 1.5.0 for 64-bit
Linux downloaded from the Sun site.  Everything works fine.

-- 
Guy Rouillier



More information about the Pljava-dev mailing list