Re: PL/Java 1.5.1_BETA2 - Mailing list pgsql-pkg-debian

From Christoph Berg
Subject Re: PL/Java 1.5.1_BETA2
Date
Msg-id 20180915203221.GA19015@msg.df7cb.de
Whole thread Raw
In response to PL/Java 1.5.1_BETA2  (Chapman Flack <chap@anastigmatix.net>)
Responses Re: PL/Java 1.5.1_BETA2  (Chapman Flack <chap@anastigmatix.net>)
Re: PL/Java 1.5.1_BETA2  (Chapman Flack <chap@anastigmatix.net>)
List pgsql-pkg-debian
Re: Chapman Flack 2018-09-10 <5B96B226.2080803@anastigmatix.net>
> Hello packagers,
> 
> There is a PL/Java 1.5.1_BETA2 release at github:
> https://github.com/tada/pljava/releases/tag/V1_5_1b2

Hi Chap,

you got me interested again :)

I tried building pljava, but I seem to fail at a very early stage:

$ JAVA_HOME=/usr/lib/jvm/default-java/ PATH=/usr/lib/jvm/default-java/bin:$PATH mvn compile

[...]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ pljava-api ---
[INFO] Compiling 24 source files to /srv/projects/postgresql/pljava/postgresql-pljava/pljava-api/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL PL/Java 1.5.1-BETA2 ..................... SUCCESS [  0.023 s]
[INFO] PL/Java API ........................................ FAILURE [  0.934 s]
[INFO] PL/Java backend Java code .......................... SKIPPED
[INFO] PL/Java backend native code ........................ SKIPPED
[INFO] PL/Java Deploy ..................................... SKIPPED
[INFO] PL/Java Ant tasks .................................. SKIPPED
[INFO] PL/Java examples ................................... SKIPPED
[INFO] PL/Java packaging 1.5.1-BETA2 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.931 s
[INFO] Finished at: 2018-09-15T22:26:25+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on
projectpljava-api: Compilation failure
 
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] Fatal Error: Unable to find package java.lang in classpath or bootclasspath
[...]

openjdk-10-jdk is installed. Any idea what is missing?

Christoph


pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org repository
Date:
Subject: citus updated to version 7.5.1.PGDG-1.pgdg+1
Next
From: Chapman Flack
Date:
Subject: Re: PL/Java 1.5.1_BETA2