From: | terencenwk at hotmail(dot)com (Terence Ng) |
---|---|
To: | |
Subject: | [Pljava-dev] language "java" does not exist |
Date: | 2008-07-30 14:35:00 |
Message-ID: | BAY105-W53EF6B8038DFD02D2B72F7D37D0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20080730/a2df9d67/attachment.html>
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2008-07-30 15:00:29 | [Pljava-dev] language "java" does not exist |
Previous Message | Kris Jurka | 2008-07-29 17:15:19 | [Pljava-dev] language "java" does not exist |