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

From: guy-rouillier at speakeasy(dot)net (Guy Rouillier)
To:
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM
Date: 2005-02-12 22:08:46
Message-ID: 20050212170846.71efdca7@emach
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Victor 2005-02-14 16:05:26 [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM
Previous Message Thomas Hallgren 2005-02-12 08:48:38 [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM