agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] JNI_CreateJavaVM
Date: Mon, 18 Sep 2006 15:12:14 -0500
Message-ID: <450EFD9E.6080103@lcrcomputer.net> (raw)
In-Reply-To: <450EC3EC.1030409@tada.se>
References: <450EA703.5080106@lcrcomputer.net>
	<450EC3EC.1030409@tada.se>

As far as I can tell, I am following these instructions to the letter, 
but no go.  What specifically is the make process looking for that it 
can not find that would cause this?  I susposse it's quite possible that 
I am pointing this to the wrong directories.

I will also try on Wednesday to get another person here in our 
department to look over what I have done to look for typos or other issues.

Thanks,
Lyle

Thomas Hallgren wrote:

>JNI_CreateJavaVM is the entry point to the Java VM. You need to set up your loader 
>environment so that the loader finds the VM. See 
>http://wiki.tada.se/wiki/display/pljava/Posix+Installation on LD_LIBRARY_PATH and ld.so.conf.d
>
>Regards,
>Thomas Hallgren
>
>
>Lyle Giese wrote:
>  
>
>>I am trying to install Compiere w/Postgres on a SuSE 9.2 computer.  All 
>>was going well until I got to the line:
>>
>>java -cp 
>>/home/postgres/product/8.1/jlib/deploy.jar:/home/postgres/product/8.1/jdbc/lib/postgresql-8.1-407.jdbc3.jar 
>>org.postgresql.pljava.deploy.Deployer -install -user compiere -database 
>>cptst01
>>
>>It errors out with:
>>org.postgresql.java.PSQLException: ERROR: could not load library 
>>"/usr/local/pgsql/lib/pljava.so": /usr/local/pgsql/lib/pljava.so: 
>>undefined symbol: JNI_CreateJavaVM
>>
>>I looked in the build tree for pljava1.3.0 and in pljava.so it shows:
>>
>>                         U JNI_CreateJavaVM
>>
>>So I assume that this means this function is not implemented or not found.
>>
>>I get no errors when running make on pljava(I can post the make log, but 
>>there are no errors, warning etc.).  I am doing this on SuSE 9.2 with 
>>java 1.4.2-sun with devel & source libraries loaded from CD.
>>
>>So what silly little thing did I miss? 
>>
>>Thanks,
>>Lyle Giese
>>    
>>
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20060918/b0cd571e/attachment.html;



view thread (14+ messages)  latest in thread

Message-ID: <450EFD9E.6080103@lcrcomputer.net>
Permalink:  ../450EFD9E.6080103@lcrcomputer.net/
Also on:    postgresql.org/message-id/450EFD9E.6080103@lcrcomputer.net

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] JNI_CreateJavaVM
  In-Reply-To: <450EFD9E.6080103@lcrcomputer.net>

* 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