You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Emilio G.C." <ra...@outlook.com> on 2019/07/27 19:29:00 UTC

Building IDE on JDK 12

As part of an experiment related to the recent PR I submitted to the netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest versions as of 2019-07-25), simultaneously, on Windows 10 (1809). The results are such that all but the JDK 12 run were successful, which in turn makes me ask: are or were there any plans to make it possible to build on JDK12, or was it not prioritized due to this being a non-LTS version?

I have full logs of all 5 build operations, but due to their size I can't post them here.

Thanks,

Emilio G.C.

Re: Building IDE on JDK 12

Posted by "Emilio G.C." <ra...@outlook.com>.
Hi, sorry I took so long to respond, here's the last bit of the JDK 12 build:
...
init:

-prepare-mandatory-files-for-module:
    [mkdir] Created dir: C:\Users\Emilio\Desktop\netbeans-builds\netbeans-11.1-source\platform\openide.util\build\classes\META-INF
[createlicensesummary] All tests passed

up-to-date:

compile:
 [nb-javac] Compiling 45 source files to C:\Users\Emilio\Desktop\netbeans-builds\netbeans-11.1-source\platform\openide.util\build\classes
   [repeat] warning: [options] bootstrap class path not set in conjunction with -source 6
   [repeat] error: Source option 6 is no longer supported. Use 7 or later.
   [repeat] error: Target option 6 is no longer supported. Use 7 or later.


________________________________
From: Geertjan Wielenga <ge...@apache.org>
Sent: Saturday, July 27, 2019 21:26
To: Emilio G.C. <ra...@outlook.com>
Cc: Laszlo Kishalmi <la...@gmail.com>; users@netbeans.apache.org <us...@netbeans.apache.org>
Subject: Re: Building IDE on JDK 12

No, just the part where the error message begins.

Gj

On Sat, 27 Jul 2019 at 23:58, Emilio G.C. <ra...@outlook.com>> wrote:
Like I said, I have the full build logs of all 5 build runs, and a couple of screenshots, but they are quite big. Should I zip them and attach them to my next email?

________________________________
From: Laszlo Kishalmi <la...@gmail.com>>
Sent: Saturday, July 27, 2019 14:54
To: users@netbeans.apache.org<ma...@netbeans.apache.org> <us...@netbeans.apache.org>>
Subject: Re: Building IDE on JDK 12


Well, I think we shall move that direction, however we might work on that in batches.

AFAIK Java 12 dropped the source compatibility prior Java 8, so we need to raise the javac source level.

I tried that once with brute force search and replace, but that caused some issues during the build. (However this was before we had the patches for Java 11 builds)

On 7/27/19 12:38 PM, Geertjan Wielenga wrote:
Sure, why not investigate whatever the reason is that JDK 12 cannot be used to build NetBeans? Any info you can provide would be helpful.

Gj


On Sat, 27 Jul 2019 at 21:29, Emilio G.C. <ra...@outlook.com>> wrote:
As part of an experiment related to the recent PR I submitted to the netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest versions as of 2019-07-25), simultaneously, on Windows 10 (1809). The results are such that all but the JDK 12 run were successful, which in turn makes me ask: are or were there any plans to make it possible to build on JDK12, or was it not prioritized due to this being a non-LTS version?

I have full logs of all 5 build operations, but due to their size I can't post them here.

Thanks,

Emilio G.C.

Re: Building IDE on JDK 12

Posted by Geertjan Wielenga <ge...@apache.org>.
No, just the part where the error message begins.

Gj

On Sat, 27 Jul 2019 at 23:58, Emilio G.C. <ra...@outlook.com> wrote:

> Like I said, I have the full build logs of all 5 build runs, and a couple
> of screenshots, but they are quite big. Should I zip them and attach them
> to my next email?
>
> ------------------------------
> *From:* Laszlo Kishalmi <la...@gmail.com>
> *Sent:* Saturday, July 27, 2019 14:54
> *To:* users@netbeans.apache.org <us...@netbeans.apache.org>
> *Subject:* Re: Building IDE on JDK 12
>
>
> Well, I think we shall move that direction, however we might work on that
> in batches.
>
> AFAIK Java 12 dropped the source compatibility prior Java 8, so we need to
> raise the javac source level.
>
> I tried that once with brute force search and replace, but that caused
> some issues during the build. (However this was before we had the patches
> for Java 11 builds)
> On 7/27/19 12:38 PM, Geertjan Wielenga wrote:
>
> Sure, why not investigate whatever the reason is that JDK 12 cannot be
> used to build NetBeans? Any info you can provide would be helpful.
>
> Gj
>
>
> On Sat, 27 Jul 2019 at 21:29, Emilio G.C. <ra...@outlook.com> wrote:
>
> As part of an experiment related to the recent PR I submitted to the
> netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest
> versions as of 2019-07-25), simultaneously, on Windows 10 (1809). The
> results are such that all but the JDK 12 run were successful, which in turn
> makes me ask: are or were there any plans to make it possible to build on
> JDK12, or was it not prioritized due to this being a non-LTS version?
>
> I have full logs of all 5 build operations, but due to their size I can't
> post them here.
>
> Thanks,
>
> Emilio G.C.
>
>

Re: Building IDE on JDK 12

Posted by "Emilio G.C." <ra...@outlook.com>.
Like I said, I have the full build logs of all 5 build runs, and a couple of screenshots, but they are quite big. Should I zip them and attach them to my next email?

________________________________
From: Laszlo Kishalmi <la...@gmail.com>
Sent: Saturday, July 27, 2019 14:54
To: users@netbeans.apache.org <us...@netbeans.apache.org>
Subject: Re: Building IDE on JDK 12


Well, I think we shall move that direction, however we might work on that in batches.

AFAIK Java 12 dropped the source compatibility prior Java 8, so we need to raise the javac source level.

I tried that once with brute force search and replace, but that caused some issues during the build. (However this was before we had the patches for Java 11 builds)

On 7/27/19 12:38 PM, Geertjan Wielenga wrote:
Sure, why not investigate whatever the reason is that JDK 12 cannot be used to build NetBeans? Any info you can provide would be helpful.

Gj


On Sat, 27 Jul 2019 at 21:29, Emilio G.C. <ra...@outlook.com>> wrote:
As part of an experiment related to the recent PR I submitted to the netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest versions as of 2019-07-25), simultaneously, on Windows 10 (1809). The results are such that all but the JDK 12 run were successful, which in turn makes me ask: are or were there any plans to make it possible to build on JDK12, or was it not prioritized due to this being a non-LTS version?

I have full logs of all 5 build operations, but due to their size I can't post them here.

Thanks,

Emilio G.C.

Re: Building IDE on JDK 12

Posted by Laszlo Kishalmi <la...@gmail.com>.
Well, I think we shall move that direction, however we might work on 
that in batches.

AFAIK Java 12 dropped the source compatibility prior Java 8, so we need 
to raise the javac source level.

I tried that once with brute force search and replace, but that caused 
some issues during the build. (However this was before we had the 
patches for Java 11 builds)

On 7/27/19 12:38 PM, Geertjan Wielenga wrote:
> Sure, why not investigate whatever the reason is that JDK 12 cannot be 
> used to build NetBeans? Any info you can provide would be helpful.
>
> Gj
>
>
> On Sat, 27 Jul 2019 at 21:29, Emilio G.C. <rareitor@outlook.com 
> <ma...@outlook.com>> wrote:
>
>     As part of an experiment related to the recent PR I submitted to
>     the netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12
>     (latest versions as of 2019-07-25), simultaneously, on Windows 10
>     (1809). The results are such that all but the JDK 12 run were
>     successful, which in turn makes me ask: are or were there any
>     plans to make it possible to build on JDK12, or was it not
>     prioritized due to this being a non-LTS version?
>
>     I have full logs of all 5 build operations, but due to their size
>     I can't post them here.
>
>     Thanks,
>
>     Emilio G.C.
>

Re: Building IDE on JDK 12

Posted by Geertjan Wielenga <ge...@apache.org>.
Sure, why not investigate whatever the reason is that JDK 12 cannot be used
to build NetBeans? Any info you can provide would be helpful.

Gj


On Sat, 27 Jul 2019 at 21:29, Emilio G.C. <ra...@outlook.com> wrote:

> As part of an experiment related to the recent PR I submitted to the
> netbeans website, I built netbeans in OpenJDK 8,9,10,11 & 12 (latest
> versions as of 2019-07-25), simultaneously, on Windows 10 (1809). The
> results are such that all but the JDK 12 run were successful, which in turn
> makes me ask: are or were there any plans to make it possible to build on
> JDK12, or was it not prioritized due to this being a non-LTS version?
>
> I have full logs of all 5 build operations, but due to their size I can't
> post them here.
>
> Thanks,
>
> Emilio G.C.
>