agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Failed to create Java VM
Date: Mon, 14 Mar 2005 19:11:14 +0100
Message-ID: <4235D3C2.4050408@mailblocks.com> (raw)
In-Reply-To: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net>
References: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net>
Bruno Domenici Ferreira wrote:
>
> Hi List,
>
>
> I've installed pl/java on a PostgreSQL 8.01 (Slackware 10), but i'm
> have a problem:
>
> my logs:
>
> LOG: There was an error trying to initialize the HPI library.
> LOG: Please check your installation, HotSpot does not work correctly
> LOG: when installed in the JDK 1.2 Linux Production Release, or
> LOG: with any JDK 1.1.x release.
> ERROR: Failed to create Java VM
>
> My test function:
>
> CREATE FUNCTION sqlj.getsysprop(VARCHAR)
> RETURNS VARCHAR
> AS 'java.lang.System.getProperty'
> LANGUAGE java;
>
> my usage function:
>
> SELECT sqlj.getsysprop('user.homevc');
> ERROR: Failed to create Java VM
>
> #java -version
> java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>
> echo $LD_LIBRARY_PATH
> /usr/lib/java/jre/lib/i386:/usr/lib/java/jre/lib/i386/client:/usr/lib/java/jre/lib/i386/native_threads:/usr/local/pgsql8/lib/
>
>
>
> I've searched in history list, sun and google and no one solutions works
> Whats wrong here!? Anyone could help-me!?
Just a hunch, but have you tried what's listed under "zlib conflict" in
the release notes
http://gborg.postgresql.org/project/pljava/genpage.php?readme
Regards,
Thomas Hallgren
view thread (16+ messages) latest in thread
Message-ID: <4235D3C2.4050408@mailblocks.com>
Permalink: ../4235D3C2.4050408@mailblocks.com/
Also on: postgresql.org/message-id/4235D3C2.4050408@mailblocks.com
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] Failed to create Java VM
In-Reply-To: <4235D3C2.4050408@mailblocks.com>
* 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