public inbox for [email protected]  
help / color / mirror / Atom feed
From: John R Pierce <[email protected]>
Subject: [Pljava-dev] built, now how to install?
Date: Mon, 11 Jan 2016 17:59:42 -0800
Message-ID: <[email protected]> (raw)

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
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

view thread (14+ 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]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] built, now how to install?
  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