Skip site navigation (1) Skip section navigation (2)

Re: PL/JAVA installation on Suse Linux

From: yogesh <yogesh(dot)arora(dot)daffodil(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: PL/JAVA installation on Suse Linux
Date: 2007-10-26 09:46:17
Message-ID: 1193391977.190149.119600@v29g2000prd.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Oct 26, 12:51 pm, yogesh <yogesh(dot)arora(dot)daffo(dot)(dot)(dot)(at)gmail(dot)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....


In response to

pgsql-admin by date

Next:From: Dawid KuroczkoDate: 2007-10-26 09:54:13
Subject: Re: 32-bit to 64-bit migration screwup
Previous:From: yogeshDate: 2007-10-26 07:51:59
Subject: PL/JAVA installation on Suse Linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group