agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] PLJava (64-bit) Build Error: JNI_CreateJavaVM
Date: Sat, 31 May 2008 09:27:05 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0805310918180.5363@leary.csoft.net> (raw)
In-Reply-To: <BAY107-W74029BBFDAD764B4AEBC8C2CF0@phx.gbl>
References: <BAY107-W74029BBFDAD764B4AEBC8C2CF0@phx.gbl>
On Tue, 13 May 2008, Javier Sotelo wrote:
> The current 64-bit pljava binary for Linux depends on assert code that
> is not included, therefore it is unusable. After successfully building
> pljava with no errors, I tried to install again. This time the library
> could not load due to an undefined symbol, JNI_CreateJavaVM (actually
> there's more, see details).
This error suggests that you don't have libjvm.so available to the server
process. You seem to be setting LD_LIBRARY_PATH appropriately, but it's
not clear when/where you are settting this. You need to start your server
with this environment, not the deployer. Note that setting it in your
environment and then running an init script is unlikely to work. I'm not
familiar with Suse start scripts, but usually the easiest thing to do is
to just modify the start script itself to set this environment variable.
Kris Jurka
view thread (2+ messages)
Message-ID: <Pine.BSO.4.64.0805310918180.5363@leary.csoft.net>
Permalink: ../Pine.BSO.4.64.0805310918180.5363@leary.csoft.net/
Also on: postgresql.org/message-id/Pine.BSO.4.64.0805310918180.5363@leary.csoft.net
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] PLJava (64-bit) Build Error: JNI_CreateJavaVM
In-Reply-To: <Pine.BSO.4.64.0805310918180.5363@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox