From: terencenwk at hotmail.com (Terence Ng) Date: Wed, 30 Jul 2008 22:35:00 +0800 Subject: [Pljava-dev] language "java" does not exist In-Reply-To: <488F5027.2090200@ejurka.com> References: <484B5E37.1080008@ejurka.com> <484C1EBE.40807@ejurka.com> <484FFAE9.9000908@ejurka.com> <48845272.2080707@ejurka.com> <488F5027.2090200@ejurka.com> Message-ID: I don't know why it cannot find libjvm.so and java. What should I do?# echo $LD_LIBRARY_PATH/usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/instances /jdk1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386/native_threads# echo $LD_LIBRARY_PATH_64/usr/jdk/instances/jdk1.5.0/jre/lib/amd64:/usr/jdk/instances/jdk1.5.0/jre/lib/amd64/server:/usr/jdk/instances/jdk1.5.0/jre/lib/amd64/native_threads# echo $JAVA_HOME/usr/jdk/instances/jdk1.5.0# java -versionjava version "1.5.0_15"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)# psql -d adempiere -U adempiere -f install.sqlPassword for user adempiere:CREATE SCHEMAGRANTpsql:install.sql:6: ERROR: could not load library "/usr/postgres/8.2/lib/pljava.so": ld.so.1: postgres: fatal: libjvm.so: open failed: No such file or directorypsql:install.sql:8: ERROR: function sqlj.java_call_handler() does not existpsql:install.sql:12: ERROR: could not load library "/usr/postgres/8.2/lib/pljava.so": ld.so.1: postgres: fatal: libjvm.so: open failed: No such file or directorypsql:install.sql:14: ERROR: function sqlj.javau_call_handler() does not existpsql:install.sql:23: NOTICE: CREATE TABLE will create implicit sequence "jar_repository_jarid_seq" for serial column "jar_repository.jarid"psql:install.sql:23: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "jar_repository_pkey" for table "jar_repository"psql:install.sql:23: NOTICE: CREATE TABLE / UNIQUE will create implicit index "jar_repository_jarname_key" for table "jar_repository"CREATE TABLEGRANTpsql:install.sql:32: NOTICE: CREATE TABLE will create implicit sequence "jar_entry_entryid_seq" for serial column "jar_entry.entryid"psql:install.sql:32: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "jar_entry_pkey" for table "jar_entry"psql:install.sql:32: NOTICE: CREATE TABLE / UNIQUE will create implicit index "jar_entry_jarid_key" for table "jar_entry"CREATE TABLEGRANTALTER TABLEpsql:install.sql:43: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "classpath_entry_pkey" for table "classpath_entry"CREATE TABLEGRANTpsql:install.sql:50: NOTICE: CREATE TABLE will create implicit sequence "typemap_entry_mapid_seq" for serial column "typemap_entry.mapid"psql:install.sql:50: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "typemap_entry_pkey" for table "typemap_entry"CREATE TABLEGRANTpsql:install.sql:55: ERROR: language "java" does not existpsql:install.sql:59: ERROR: language "java" does not existpsql:install.sql:63: ERROR: language "java" does not existpsql:install.sql:67: ERROR: language "java" does not existpsql:install.sql:71: ERROR: language "java" does not existpsql:install.sql:75: ERROR: language "java" does not existpsql:install.sql:79: ERROR: language "java" does not existpsql:install.sql:83: ERROR: language "java" does not existpsql:install.sql:87: ERROR: language "java" does not exist# Terence Ng > Date: Tue, 29 Jul 2008 11:15:19 -0600> From: books at ejurka.com> To: terencenwk at hotmail.com> CC: pljava-dev at pgfoundry.org> Subject: Re: language "java" does not exist> > Terence Ng wrote:> > > > After I set LD_LIBRARY_PATH and run uninstall.sql to clear previous > > installation, there still has an error saying "java" does not exit. > > Why? What did I miss?> > If your previous installation didn't get completely installed than the > uninstall will fail to uninstall some parts of it. That's expected. > Also if you run the uninstall script multiple times it should only do > something interesting on the first run. I believe you've sufficiently > uninstalled it to begin the installation again.> > Kris Jurka _________________________________________________________________ Connect to the next generation of MSN Messenger? http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline -------------- next part -------------- An HTML attachment was scrubbed... URL: