public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chapman Flack <[email protected]>
Subject: Re: [Pljava-dev] PL/Java on postgres 9.1
Date: Wed, 27 Jul 2016 16:42:49 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMHt_+fDG5YdSpWW4Onu1HAPaoCXBsoX3qXx_2+f=Ea1HaM89w@mail.gmail.com>
References: <CAMHt_+fDG5YdSpWW4Onu1HAPaoCXBsoX3qXx_2+f=Ea1HaM89w@mail.gmail.com>

On 07/27/2016 03:55 PM, Dan Bikle wrote:

> LOAD 'libpljava-so-1.5.0.so';
> psql:/tmp/set_pljava.sql:9: WARNING:  Java virtual machine not yet loaded
> DETAIL:  Pausing because "pljava.enable" is set "off".
> HINT:  After changing any other settings as necessary, set it "on" to
> proceed.

> Q: How to tell postgres 9.1 that I want this:
> SET pljava.libjvm_location TO
> '/opt/jdk1.8.0_92/jre/lib/amd64/server/libjvm.so';

Just to summarize what the

http://tada.github.io/pljava/install/prepg92.html

page says, after you have reached this point (LOAD paused
because pljava.enable is off), you can issue that SET
command and it will be recognized. You will, then, also need
to SET pljava.enable TO on; to let the startup complete.

Once you've determined the settings that work, in PG < 9.2 you
have to edit them into postgresql.conf to make them persist.

-Chap
_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



view thread (3+ messages)

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: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] PL/Java on postgres 9.1
  In-Reply-To: <[email protected]>

* 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