Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1HEy-0006XQ-Nh for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Sep 2018 20:32:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1HEw-0004q4-Sk for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Sep 2018 20:32:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1HEw-0004oD-Nw; Sat, 15 Sep 2018 20:32:26 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1HEu-0004as-G2; Sat, 15 Sep 2018 20:32:26 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:e5c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 42CPFf1YDPz3F05; Sat, 15 Sep 2018 22:32:22 +0200 (CEST) Date: Sat, 15 Sep 2018 22:32:21 +0200 From: Christoph Berg To: Chapman Flack Cc: pgsql-pkg-debian@postgresql.org, pgsql-pkg-yum@postgresql.org Subject: Re: PL/Java 1.5.1_BETA2 Message-ID: <20180915203221.GA19015@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Chapman Flack , pgsql-pkg-debian@postgresql.org, pgsql-pkg-yum@postgresql.org References: <5B96B226.2080803@anastigmatix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B96B226.2080803@anastigmatix.net> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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