From: thhal at mailblocks.com (Thomas Hallgren) Date: Mon, 8 Nov 2004 10:32:52 +0100 Subject: [Pljava-dev] Failed to create Java VM In-Reply-To: <5F4ED4205E00D6119BFE009027DE39090793EF53@MLSW00103> Message-ID: My guess is that the LD_LIBRARY_PATH seen by the postmaster process is incorrect. Perhaps you forgot to export it prior to starting the postmaster? Or, perhaps it doesn?t appoint the needed directories? Normally it should look something like this: LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client The last entry may end with server instead of client depending on your needs. Please note that this setting must be in effect for the postmaster process and not for your client process. Regards, Thomas Hallgren ________________________________________ From: Nageshwar Rao [mailto:NageshwarR at PLANETASIA.COM] Sent: Monday, November 08, 2004 9:51 AM To: 'Thomas Hallgren' Subject: RE: [Pljava-dev] Failed to create Java VM PL/JAVA - PL/JAVA 1.0.0.b5 OS - [postgres at GEML bin]$ uname -a Linux GEML 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux JDK - 1.4.2 Regards Rao -----Original Message----- From: Thomas Hallgren [mailto:thhal at mailblocks.com] Sent: Monday, November 08, 2004 2:08 PM To: Nageshwar Rao; pljava-dev at gborg.postgresql.org Subject: RE: [Pljava-dev] Failed to create Java VM I need some more info in order to help. Which version of PL/Java are you using and on what OS (platform and version)? What JDK? Regards, Thomas Hallgren ________________________________________ From: pljava-dev-bounces at gborg.postgresql.org [mailto:pljava-dev-bounces at gborg.postgresql.org] On Behalf Of Nageshwar Rao Sent: Monday, November 08, 2004 8:14 AM To: 'pljava-dev at gborg.postgresql.org' Subject: [Pljava-dev] Failed to create Java VM I have installed pl/java on postgresl 7.4.x. When executing the function ,I am getting an error ? 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 ERROR:? Failed to create Java VM ? Help is appreciated. Thanks Rao