agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] JNI_CreateJavaVM
Date: Tue, 26 Sep 2006 11:05:25 +0200
Message-ID: <4518ED55.9000600@logix-tt.com> (raw)
In-Reply-To: <45184D68.60602@lcrcomputer.net>
References: <450EA703.5080106@lcrcomputer.net>
	<450EC3EC.1030409@tada.se>
	<450EFD9E.6080103@lcrcomputer.net>
	<45182933.6020507@lcrcomputer.net>
	<45183911.2020205@logix-tt.com>
	<45184D68.60602@lcrcomputer.net>

Hi, Lyle,

Lyle Giese wrote:
> I am sorta getting the same errors you are.  I have an HP ML350 with a
> XEON processor and installed SuSE 9.2 (64 bit kernel).  It came up
> identified as x86_64 and tried to find amd64 in the Java lib
> directories, which doesn't exist of course.  I changed the x86_64 to be
> identified as i386 and it still did not make correctly.
> 
> At that point, I get an gcc 64 bit lib error related to an incompatible
> libjvm.so(in the i386 directory).  But since I installed java & jvm from
> the SuSE 9.2 distribution dvd, I don't know if I can fix this issue.  I
> may try re-installing SuSE 9.2 minus java from the dvd(if I can) and
> install java from source afterwords.  Not sure how difficult that will be.

Is it possible that you mixed 32-bit and 64-bit user space code?

You cannot mix 32-bit and 64-bit code in the same executable. As pljava
and the jdk get loaded as dynamically libraries into the postmaster, all
of PostgreSQL, pljava, the jdk/jre and all other needed libs (e. G.
zlib) need to be compiled for the same platform.

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20060926/5c7a64f8/attachment.bin;



view thread (14+ messages)  latest in thread

Message-ID: <4518ED55.9000600@logix-tt.com>
Permalink:  ../4518ED55.9000600@logix-tt.com/
Also on:    postgresql.org/message-id/4518ED55.9000600@logix-tt.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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] JNI_CreateJavaVM
  In-Reply-To: <4518ED55.9000600@logix-tt.com>

* 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