From: thhal at mailblocks.com (Thomas Hallgren) Date: Sat, 12 Feb 2005 09:48:38 +0100 Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM In-Reply-To: <1108170959.19561.6.camel@vpj.eevolution> References: <1108170959.19561.6.camel@vpj.eevolution> <420DC2E6.7050600@mailblocks.com> Message-ID: Victor wrote: >java.sql.SQLException: ERROR: could not load library >"/usr/local/pgsql/lib/libpljava.so": /usr/local/pgsql/lib/libpljava.so: >undefined symbol: JNI_CreateJavaVM >... > >LD_LIBRARy_PATH=/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386/client:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386/native_threads:/usr/local/pgsql/lib/libpljava.so > >Some one can help me with this problem? > > Your LD_LIBRARY_PATH contains "jre/jre". That is probably incorrect. One "jre" should be sufficient. Also, the character 'Y' is smallcaps and Linux environment names are case sensitive. Regards, Thomas Hallgren