[Pljava-dev] Failed to create Java VM

Bruno Domenici Ferreira bruno at centerx.com.br
Mon Mar 14 17:49:42 UTC 2005


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/



More information about the Pljava-dev mailing list