From: books at ejurka.com (Kris Jurka) Date: Mon, 21 Jul 2008 03:10:10 -0600 Subject: [Pljava-dev] java.lang.NoClassDefFoundError In-Reply-To: References: <484B5E37.1080008@ejurka.com> <484C1EBE.40807@ejurka.com> <484FFAE9.9000908@ejurka.com> Message-ID: <48845272.2080707@ejurka.com> 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