public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] build/deploy question
Date: Thu, 6 Aug 2015 13:51:21 -0600
Message-ID: <CALBNtw4TkrFf5hMk8burieXTM-ehf49HqxJmfFHur=4Gq_8+UQ@mail.gmail.com> (raw)

I'm exploring wrapping pljava in a postgresql extension and have something
that loads it when I type 'create extension pljava' but it barfs when I try
to actually do something - it gives me 'java.lang.NoClassDefFoundError:
org/postgresql/pljava/internal/Backend". I know I have the infrastructure
in place though since I can list the tables in the sqlj schema.

I built the .so using 'mvn install'. Do I need to do anything else? I tried
USE_GCJ=1 in front but that didn't change the size of the .so file.

BTW the control file specifies libjvm as a dependency. I added an entry to
/etc/ld.so.conf.d so my java8 shlib is on the search path.

This is postgresql 9.4.4 and Ubuntu 14.10? (utopic).

Bear

BTW I think I have figured out how to wrap subsequent jar files in an
extension as well. I can't be sure since I get that error when I execute
them but the pgxn makefile is putting everything in the right place.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20150806/32237db8/attachment.html;



view thread (2+ messages)  latest in thread

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]
  Subject: Re: [Pljava-dev] build/deploy question
  In-Reply-To: <CALBNtw4TkrFf5hMk8burieXTM-ehf49HqxJmfFHur=4Gq_8+UQ@mail.gmail.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