agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library"/usr/local
Date: Fri, 1 Apr 2005 13:08:53 +0100
Message-ID: <200504011207.j31C7lnn007278@localhost.localdomain> (raw)
In-Reply-To: <BAY12-F25B22B0E661ED97AFD38F2A6380@phx.gbl>

That won't solve my problem, I've already done that.

This is my export:

$ export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:/usr/java/j2sdk1.4.1_02/jre/lib/i386
/client/:$JAVA_HOME/jre/lib/i386/native_threads:.;


JVM Shared Library:
$ ls -la /usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so
-rwxr-xr-x    1 root     bin       6098298 Feb 20  2003
/usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so


Deploy command (as root):
java -cp
/var/lib/pgsql/pljava/deploy.jar:/usr/share/java/postgresql-8.0-310.jdbc3.ja
r org.postgresql.pljava.deploy.Deployer -reinstall -user compiere -database
cmpcs

Exception:
java.sql.SQLException: ERROR: could not load library
"/var/lib/pgsql/pljava/libpljava.so": libjvm.so: cannot open shared object
file: No such file or directory



-----Original Message-----
From: Antonio Carlos de Andrade Brito [mailto:acabhgg at hotmail.com] 
Sent: sexta-feira, 1 de Abril de 2005 11:47
To: gulden at portugalmail.pt
Subject: RE: [Pljava-dev] java.sql.SQLException: ERROR: could not load
library"/usr/local

Ola Gulden,
tamb?m estou come?ando a ler sobre pljava, s? que uso postgresql para 
windows... Pelo que vi vc n?o est? apontando para sua JVM, que deve estar 
dentro do diretorio do \j2sdk1.4.2_05\jre\bin\client...
Um abra?o e espero te ajudado...
Bom dia,
Antonio - Rio de Janeiro - Brazil






view thread (31+ messages)  latest in thread

Message-ID: <200504011207.j31C7lnn007278@localhost.localdomain>
Permalink:  ../200504011207.j31C7lnn007278@localhost.localdomain/
Also on:    postgresql.org/message-id/200504011207.j31C7lnn007278@localhost.localdomain

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] java.sql.SQLException: ERROR: could not load library"/usr/local
  In-Reply-To: <200504011207.j31C7lnn007278@localhost.localdomain>

* 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