Re: PL/Java new build plugin

From: Kartik Ohri <kartikohri13(at)gmail(dot)com>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: pljava-dev(at)lists(dot)postgresql(dot)org
Subject: Re: PL/Java new build plugin
Date: 2020-07-21 21:00:34
Message-ID: CAASLQ4P_v7u5z76XWfPmVeBvQtNdraiN0MmsRRfq-eNh1O1aTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On Wed, Jul 22, 2020 at 2:15 AM Chapman Flack <chap(at)anastigmatix(dot)net> wrote:

> On 07/21/20 16:28, Kartik Ohri wrote:
> > I tested with Java 15 and it works. But surprisingly, it still finds
> > Nashorn and does not find Graal at all. Here is the build log,
> > https://travis-ci.com/github/amCap1712/pljava/jobs/363479322 and the
> branch
> > I tested with https://github.com/amCap1712/pljava/tree/test-graal.
>
> While I see in that log that an 'apt remove openjdk-11-jdk' happened,
> and also an installation of 15-ea, it looks like openjdk-14 was also
> present and is probably what mvn was using.
>
> I usually don't bother removing jdk versions; I have several installed
> at one time, and just use, e.g.,
>
> JAVA_HOME=/var/tmp/jdk-15/ mvn clean install
>
> I had set JAVA_HOME and ran javac -version which pointed that Java 15 was
being used but I tested again to be sure.I specified the Java Home in the
mvn statement and ran with debug flags to see which version was running.
You can see around line 473 here
https://travis-ci.com/github/amCap1712/pljava/jobs/363479322. The result is
the same: the script engine finds nashorn but not graal.

> which is enough to determine which installed Java is used to run Maven.
>
> Regards,
> -Chap
>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2020-07-21 21:33:52 Re: PL/Java new build plugin
Previous Message Chapman Flack 2020-07-21 20:44:57 Re: PL/Java new build plugin