Re: PL/Java 1.5.1_BETA2

From: Christoph Berg <myon(at)debian(dot)org>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: pgsql-pkg-debian(at)postgresql(dot)org, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: PL/Java 1.5.1_BETA2
Date: 2018-09-15 20:32:21
Message-ID: 20180915203221.GA19015@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum

Re: Chapman Flack 2018-09-10 <5B96B226(dot)2080803(at)anastigmatix(dot)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 project pljava-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

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Chapman Flack 2018-09-15 21:03:30 Re: PL/Java 1.5.1_BETA2
Previous Message apt.postgresql.org repository 2018-09-14 09:36:17 citus updated to version 7.5.1.PGDG-1.pgdg+1

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Chapman Flack 2018-09-15 21:03:30 Re: PL/Java 1.5.1_BETA2
Previous Message Christophe Courtois 2018-09-12 14:33:18 Re: PG 11 with JIT/LLVM on CentOS 6 ?