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 1g1Hji-0007tq-A4 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Sep 2018 21:04:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1Hje-0006rv-RH for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Sep 2018 21:04:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1Hjd-0006rl-W7; Sat, 15 Sep 2018 21:04:10 +0000 Received: from bay.acenet.us ([173.230.252.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1HjW-0001sZ-NF; Sat, 15 Sep 2018 21:04:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uIVf2IKVNRZ1evbfPWl7OqMzNcWxvMlPOa/cmrOSVwA=; b=Bt28qUN+Cbd/e/7c7lUFFDL/c/ 0WLh71Ic3x/W6x+8eMS7urKD19dIuPBPVtXyC42atUvRpAUwWGO4j4zZQn2wlkBoq1L3RhnOU9Ht3 LJtSRObbCyotCwK9RQpZbyz23z+vQACCeP0n7NmpOK3JrHvF92g2kwMcPJXsfoaPlOKBVcd8HthWV PJvnJfGq48G83O3nRPqb1sRCbBkJS2oXuw/VNUXV1sv4qiKjGhxMpqVLN8txkgK0Skipui7P6HYE9 7xRPAC6nCuv+eFeDhkoxTVy67Olgk4TgFSaz1Y5ZBGAP32ODv7YdQ/e9r0cFDO/OdYnOnJXgXGW7G D62TowUw==; Received: from [50.127.85.184] (port=53064) by bay.acenet.us with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1g1HjN-00B4LZ-DX; Sat, 15 Sep 2018 17:03:57 -0400 Subject: Re: PL/Java 1.5.1_BETA2 To: Christoph Berg , pgsql-pkg-debian@postgresql.org, pgsql-pkg-yum@postgresql.org References: <5B96B226.2080803@anastigmatix.net> <20180915203221.GA19015@msg.df7cb.de> From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5B9D73A2.2090402@anastigmatix.net> Date: Sat, 15 Sep 2018 17:03:30 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <20180915203221.GA19015@msg.df7cb.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-99.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap+anastigmatix.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/15/18 16:32, Christoph Berg wrote: > Fatal Error: Unable to find package java.lang in classpath or bootclasspath > ... > openjdk-10-jdk is installed. Any idea what is missing? With Java 9, a completely new modular structure was brought to the JDK, with deep implications for build procedures. I will have to rework the build process heavily for a future PL/Java release, but for 1.5.1, I have not. So, it needs a Java 8 JDK (or 7, or 6, but let's just say 8) to build. Once built, it will _run_ on later Java runtimes (and users can write PL/Java functions using the latest language features, compile them with later JDKs, and run them in PL/Java, as long as it is running on a new- enough runtime). The Java runtime that actually gets used, at runtime, is determined by the pljava.libjvm_location variable, which can be given a default at build time with -Dpljava.libjvmdefault=.... So if you are packaging for a platform where you know Java 10 will be the default, and you know what the conventional path to its libjvm.so will be, then by all means, use -Dpljava.libjvmdefault= to build in that default for use at runtime. But the build, for now, must be done with 8. There is a new(-ish?) page in the documentation with information intended for packagers: http://tada.github.io/pljava/build/package.html -Chap