[Pljava-dev] built, now how to install?

From: John R Pierce <pierce(at)hogranch(dot)com>
To:
Subject: [Pljava-dev] built, now how to install?
Date: 2016-01-12 01:59:42
Message-ID: 56945E0E.3000104@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

so I've built the latest off git with mvn install, on CentOS 6, with
openjdk 1.8 and postgres 9.4.latest... the 'installing on linux'
instructions seem, well, old... I don't like the idea of putting
unpackaged files in directories 'owned' by packages, like $PGHOME/lib
so I'm trying to put them in /usr/share/pljava/ ...

I think these instructions https://github.com/tada/pljava/wiki/Deployer
might need some updating, and be integrated with or linked from the
'installing from linux' page....

on
https://github.com/tada/pljava/wiki/Installing-on-linux-%28or-other-%2Anix%29

I had to use ...

export JRE_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64/jre
export LD_LIBRARY_PATH=$JRE_HOME/lib/amd64:$JRE_HOME/lib/amd64/server

(doc said /client ...)

anyways, um, i"m currently stuck at the deployer...

$ java -cp
/usr/share/pljava/pljava.jar:/usr/share/pljava/postgresql-9.4.1207.jar
org.postgresql.pljava.deploy.Deployer -install
Error: Could not find or load main class
org.postgresql.pljava.deploy.Deployer

$ psql -c "select version();"
version
---------------------------------------------------------------------------------------------------------------
PostgreSQL 9.4.5 on x86_64-unknown-linux-gnu, compiled by gcc (GCC)
4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
(1 row)

$ java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (rhel-2.6.2.2.el6_7-x86_64 u91-b00)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

some notes re:
https://github.com/tada/pljava/wiki/Installing-on-linux-%28or-other-%2Anix%29

I'm pretty sure those Solaris Notes are quite obsolete. Those were my
doing some years back. I'm pretty sure the include/pg_config.h in the
standard solaris build was long ago fixed. We're no longer developing
for Solaris in my environment, so someone else will need to follow up.

I'm also sure the first paragraph is completely obsolete with respect to
1.6 not working.

GCJ probably should be completely deprecated and dropped, as its a dead
project, having java-openjdk available pretty much negates gcj's raison
d'être. I suppose the gcj note on this page, and on the building page,
could be put on their own GCJ page, along with a note suggesting its all
deprecated.

I'd do some of these edits myself but I have no idea how to submit them
to git

--
john r pierce, recycling bits in santa cruz

_______________________________________________
Pljava-dev mailing list
Pljava-dev(at)lists(dot)pgfoundry(dot)org
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2016-01-12 02:02:16 Re: [Pljava-dev] built, now how to install?
Previous Message Chapman Flack 2016-01-07 00:03:32 Re: [Pljava-dev] huh...