public inbox for [email protected]
help / color / mirror / Atom feedSubject: [Pljava-dev] java.lang.NoClassDefFoundError
Date: Mon, 21 Jul 2008 23:23:39 +0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
Hi Kris,
After I set LD_LIBRARY_PATH and run uninstall.sql, there still has an error saying "java" does not exit. Why?
Do I have to set /etc/ld.so.conf.d/postgresql.conf (as in SLES10) when I am using SOLARIS 10?
# echo $JAVA_HOME/usr/jdk/instances/jdk1.5.0# echo $LD_LIBRARY_PATH/usr/postgres/8.2/lib:/usr/jdk/instances/jdk1.5.0/jre/lib/amd64:/usr/jdk/instances/jdk1.5.0/jre/lib/amd64/native_threads:/usr/jdk/instances/jdk1.5.0/jre/lib/amd64/server# echo $JAVA_HOME/usr/jdk/instances/jdk1.5.0# svcadm restart postgresql:version_82# psql -d adempiere -U adempiere -f /var/tmp/pljava/pljava-1.4.0/src/sql/uninstall.sqlPassword for user adempiere:psql:/var/tmp/pljava/pljava-1.4.0/src/sql/uninstall.sql:1: ERROR: language "java" does not existpsql:/var/tmp/pljava/pljava-1.4.0/src/sql/uninstall.sql:2: ERROR: language "javau" does not existpsql:/var/tmp/pljava/pljava-1.4.0/src/sql/uninstall.sql:3: ERROR: schema "sqlj" does not exist#Regards, Terence
> Date: Mon, 21 Jul 2008 03:10:10 -0600> From: books at ejurka.com> To: terencenwk at hotmail.com> CC: pljava-dev at pgfoundry.org> Subject: Re: [Pljava-dev] java.lang.NoClassDefFoundError> > > > Terence Ng wrote:> > > > I suppose I have installed pljava adequately. But I discover that > > something wrong and want to re-install it again...but fail to install.. > > I do not know where should I start. Please give me some suggestions.> > > > I don't believe your install worked correctly. To clear out the old> installation there should be an uninstall.sql alongside the install.sql> file. So I'd give that a shot.> > > psql:/usr/postgres/8.2/share/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 directory> > This is your real problem here. I'm guessing you haven't set> LD_LIBRARY_PATH appropriately prior to starting the server.> > Kris Jurka
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20080721/2417ed8e/attachment.html;
view thread (15+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Subject: Re: [Pljava-dev] java.lang.NoClassDefFoundError
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox