agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Failed to create Java VM
Date: Mon, 14 Mar 2005 14:49:42 -0300
Message-ID: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net> (raw)


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!?

Thanxs!

-- 
Bruno D.
TI - CenterX

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/




view thread (16+ messages)  latest in thread

Message-ID: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net>
Permalink:  ../opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net/
Also on:    postgresql.org/message-id/opsnm2g4qmn5ejfj@cornolio.innovationbusiness.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] Failed to create Java VM
  In-Reply-To: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.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