pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yogesh <yogesh.arora.daffodil@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: PL/JAVA installation on Suse Linux
Date: Fri, 26 Oct 2007 09:46:17 -0000
Message-ID: <1193391977.190149.119600@v29g2000prd.googlegroups.com> (raw)
In-Reply-To: <1193385119.468329.15450@i38g2000prf.googlegroups.com>
References: <1193385119.468329.15450@i38g2000prf.googlegroups.com>

On Oct 26, 12:51 pm, yogesh <yogesh.arora.daffo...@gmail.com> wrote:
> Hello frnds,
>       I have installed the Postgres on Linux Platform(suse
> Linux)...now i want to install Pl/JAVA in postgres......i done it with
> the following command.............
>
> java -cp /usr/share/pljava/deploy.jar:/usr/share/pgsql/
> postgresql-8.1-404.jdbc3.jar org.postgresql.pljava.deploy.Deployer -
> install -user yogesh -database yogesh -password arora
>
> Now when i run this command ...........I got a Error  message that
> is :-
>
> org.postgresql.util.PSQLException: ERROR: could not load library "/usr/
> share/pljava/pljava.so": libjvm.so: cannot open shared object file: No
> such file or directory
>    at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:
> 1548)
>    at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:
> 1316)
>    at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
> 212)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
> 458)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:
> 338)
>    at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:
> 329)
>    at
> org.postgresql.pljava.deploy.Deployer.initJavaHandlers(Deployer.java:
> 474)
>    at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:270)
>
> any body have an Idea about the problem...Please respond asap..
>
> regards,
>            Yogesh Arora



Hello Frnds,
            My this problem is also been sort out.....

        There was some problem in JAVA_HOME so it was unable to find
out the libjvm.so
i changed the path from simple JAVA_HOME to JROckIT
JAVA_HOME......where it finds the libjvm.so..

Now its running....




view thread (2+ messages)

Message-ID: <1193391977.190149.119600@v29g2000prd.googlegroups.com>
Permalink:  ../1193391977.190149.119600@v29g2000prd.googlegroups.com/
Also on:    postgresql.org/message-id/1193391977.190149.119600@v29g2000prd.googlegroups.com

 · 

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: pgsql-admin@postgresql.org
  Cc: yogesh.arora.daffodil@gmail.com
  Subject: Re: PL/JAVA installation on Suse Linux
  In-Reply-To: <1193391977.190149.119600@v29g2000prd.googlegroups.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox