Re: Building Apache NetBeans with JDK 11

2019-07-16 Thread Jose Ch
Hi all,

I just compiled the sources of beta-4 with JAVA 11 on Windows:

JDK: OpenJ9 11.0.3-0.14.3
OS: Windows 10 x64
Ant: 1.10.6
JAVA_HOME: OpenJ9 8u212-0.14.2
Command: ant -Djavac.executable="C:\Program Files\Java\openJ9-11"
-Dpermit.jdk9.builds=true
Build Time: 45 minutes 11 seconds

I will try the compiling in my Linux machine.

Regards,

Jose.

El jue., 11 jul. 2019 a las 13:11, James Gosling ()
escribió:

> I’ve been running 11.1 on the Amazon Corretto build of JDK 11.0.2+9-LTS
> I’m in a “death march” at work, so I live in NetBeans.  It’s been
> flawless.
>
> > On Jul 11, 2019, at 3:13 AM, Geertjan Wielenga 
> wrote:
> >
> > Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.
> >
> > *Product Version:* Apache NetBeans IDE 11.1
> >
> > *Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> >
> > *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS
> >
> > *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
> >
> >
> > Gj
> >
> >
> >
> > On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga 
> > wrote:
> >
> >> Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using
> >> for running Ant. Now everything is going well.
> >>
> >> Gj
> >>
> >> On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga  >
> >> wrote:
> >>
> >>> Hi all,
> >>>
> >>> I'm especially interested in getting us to a point where we can build
> on
> >>> the latest Java LTS release.
> >>>
> >>> So I tried to run ant like this (on Mac OSX):
> >>>
> >>> ant
> >>>
> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
> >>> -Dpermit.jdk9.builds=true
> >>>
> >>> Quite quickly this results in the following:
> >>>
> >>> compile:
> >>> [nb-javac] Compiling 45 source files to
> >>>
> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
> >>>  [nbmerge] Failed to build target: all-openide.util
> >>>
> >>> BUILD FAILED
> >>>
> >>> Does anyone have ideas?
> >>>
> >>> Thanks,
> >>>
> >>> Gj
> >>>
> >>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread James Gosling
I’ve been running 11.1 on the Amazon Corretto build of JDK 11.0.2+9-LTS
I’m in a “death march” at work, so I live in NetBeans.  It’s been flawless.  

> On Jul 11, 2019, at 3:13 AM, Geertjan Wielenga  wrote:
> 
> Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.
> 
> *Product Version:* Apache NetBeans IDE 11.1
> 
> *Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> 
> *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS
> 
> *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
> 
> 
> Gj
> 
> 
> 
> On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga 
> wrote:
> 
>> Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using
>> for running Ant. Now everything is going well.
>> 
>> Gj
>> 
>> On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga 
>> wrote:
>> 
>>> Hi all,
>>> 
>>> I'm especially interested in getting us to a point where we can build on
>>> the latest Java LTS release.
>>> 
>>> So I tried to run ant like this (on Mac OSX):
>>> 
>>> ant
>>> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
>>> -Dpermit.jdk9.builds=true
>>> 
>>> Quite quickly this results in the following:
>>> 
>>> compile:
>>> [nb-javac] Compiling 45 source files to
>>> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
>>>  [nbmerge] Failed to build target: all-openide.util
>>> 
>>> BUILD FAILED
>>> 
>>> Does anyone have ideas?
>>> 
>>> Thanks,
>>> 
>>> Gj
>>> 
>> 


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread Josh Juneau
Java EE 8 is not specifically tied to JDK 8.  The only reason why that is a
barrier right now is because of the container support.  If a container
vendor, such as Payara, compiles and makes Java EE 8 libraries available
under a newer JDK then it should work.  Therefore, Payara 5.192 supports
JDK 11, so we should be able to run Apache NetBeans on JDK 11 and
compile/deploy Java EE 8 applications (via JDK 11) to this container.  I
believe other containers are also planning to support JDK 11.

Please see the blog post from Arjan for more details on Payara JDK 11
support:  https://blog.payara.fish/whats-new-in-payara-platform-192

Thanks

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau




On Thu, Jul 11, 2019 at 6:52 AM Geertjan Wielenga 
wrote:

> Yes, this is something I'm not clear about -- isn't Java EE 8 tied to JDK
> 8? Correct me if I'm wrong. Should GlassFish and Payara run with anything
> other than JDK 8?
>
> Gj
>
> On Thu, Jul 11, 2019 at 1:39 PM Josh Juneau  wrote:
>
> > Glad to hear that JDK 11 seems to be working well with Apache NetBeans
> > 11.1.  I haven't yet tested the Payara 5.192 JDK 11 support...but I
> believe
> > initial support is now there.  I will try to find some time to test this
> > out within NetBeans and provide feedback.
> >
> > Josh Juneau
> > juneau...@gmail.com
> > http://jj-blogger.blogspot.com
> > https://www.apress.com/us/search?query=Juneau
> > 
> >
> >
> >
> > On Thu, Jul 11, 2019 at 5:13 AM Geertjan Wielenga 
> > wrote:
> >
> > > Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.
> > >
> > > *Product Version:* Apache NetBeans IDE 11.1
> > >
> > > *Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> > >
> > > *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS
> > >
> > > *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
> > >
> > >
> > > Gj
> > >
> > >
> > >
> > > On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga <
> geert...@apache.org>
> > > wrote:
> > >
> > > > Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am
> > using
> > > > for running Ant. Now everything is going well.
> > > >
> > > > Gj
> > > >
> > > > On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga <
> > geert...@apache.org>
> > > > wrote:
> > > >
> > > >> Hi all,
> > > >>
> > > >> I'm especially interested in getting us to a point where we can
> build
> > on
> > > >> the latest Java LTS release.
> > > >>
> > > >> So I tried to run ant like this (on Mac OSX):
> > > >>
> > > >> ant
> > > >>
> > >
> >
> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
> > > >> -Dpermit.jdk9.builds=true
> > > >>
> > > >> Quite quickly this results in the following:
> > > >>
> > > >> compile:
> > > >>  [nb-javac] Compiling 45 source files to
> > > >>
> > >
> >
> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
> > > >>   [nbmerge] Failed to build target: all-openide.util
> > > >>
> > > >> BUILD FAILED
> > > >>
> > > >> Does anyone have ideas?
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Gj
> > > >>
> > > >
> > >
> >
>


Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread Geertjan Wielenga
Yes, this is something I'm not clear about -- isn't Java EE 8 tied to JDK
8? Correct me if I'm wrong. Should GlassFish and Payara run with anything
other than JDK 8?

Gj

On Thu, Jul 11, 2019 at 1:39 PM Josh Juneau  wrote:

> Glad to hear that JDK 11 seems to be working well with Apache NetBeans
> 11.1.  I haven't yet tested the Payara 5.192 JDK 11 support...but I believe
> initial support is now there.  I will try to find some time to test this
> out within NetBeans and provide feedback.
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=Juneau
> 
>
>
>
> On Thu, Jul 11, 2019 at 5:13 AM Geertjan Wielenga 
> wrote:
>
> > Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.
> >
> > *Product Version:* Apache NetBeans IDE 11.1
> >
> > *Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> >
> > *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS
> >
> > *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
> >
> >
> > Gj
> >
> >
> >
> > On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga 
> > wrote:
> >
> > > Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am
> using
> > > for running Ant. Now everything is going well.
> > >
> > > Gj
> > >
> > > On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga <
> geert...@apache.org>
> > > wrote:
> > >
> > >> Hi all,
> > >>
> > >> I'm especially interested in getting us to a point where we can build
> on
> > >> the latest Java LTS release.
> > >>
> > >> So I tried to run ant like this (on Mac OSX):
> > >>
> > >> ant
> > >>
> >
> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
> > >> -Dpermit.jdk9.builds=true
> > >>
> > >> Quite quickly this results in the following:
> > >>
> > >> compile:
> > >>  [nb-javac] Compiling 45 source files to
> > >>
> >
> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
> > >>   [nbmerge] Failed to build target: all-openide.util
> > >>
> > >> BUILD FAILED
> > >>
> > >> Does anyone have ideas?
> > >>
> > >> Thanks,
> > >>
> > >> Gj
> > >>
> > >
> >
>


Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread Josh Juneau
Glad to hear that JDK 11 seems to be working well with Apache NetBeans
11.1.  I haven't yet tested the Payara 5.192 JDK 11 support...but I believe
initial support is now there.  I will try to find some time to test this
out within NetBeans and provide feedback.

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau




On Thu, Jul 11, 2019 at 5:13 AM Geertjan Wielenga 
wrote:

> Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.
>
> *Product Version:* Apache NetBeans IDE 11.1
>
> *Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
>
> *Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS
>
> *System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
>
>
> Gj
>
>
>
> On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga 
> wrote:
>
> > Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using
> > for running Ant. Now everything is going well.
> >
> > Gj
> >
> > On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga 
> > wrote:
> >
> >> Hi all,
> >>
> >> I'm especially interested in getting us to a point where we can build on
> >> the latest Java LTS release.
> >>
> >> So I tried to run ant like this (on Mac OSX):
> >>
> >> ant
> >>
> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
> >> -Dpermit.jdk9.builds=true
> >>
> >> Quite quickly this results in the following:
> >>
> >> compile:
> >>  [nb-javac] Compiling 45 source files to
> >>
> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
> >>   [nbmerge] Failed to build target: all-openide.util
> >>
> >> BUILD FAILED
> >>
> >> Does anyone have ideas?
> >>
> >> Thanks,
> >>
> >> Gj
> >>
> >
>


Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread Geertjan Wielenga
Apache NetBeans 11.1 builds and runs with JDK 11 LTS, excellent.

*Product Version:* Apache NetBeans IDE 11.1

*Java:* 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS

*Runtime:* Java(TM) SE Runtime Environment 11.0.1+13-LTS

*System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)


Gj



On Thu, Jul 11, 2019 at 11:41 AM Geertjan Wielenga 
wrote:

> Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using
> for running Ant. Now everything is going well.
>
> Gj
>
> On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga 
> wrote:
>
>> Hi all,
>>
>> I'm especially interested in getting us to a point where we can build on
>> the latest Java LTS release.
>>
>> So I tried to run ant like this (on Mac OSX):
>>
>> ant
>> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
>> -Dpermit.jdk9.builds=true
>>
>> Quite quickly this results in the following:
>>
>> compile:
>>  [nb-javac] Compiling 45 source files to
>> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
>>   [nbmerge] Failed to build target: all-openide.util
>>
>> BUILD FAILED
>>
>> Does anyone have ideas?
>>
>> Thanks,
>>
>> Gj
>>
>


Re: Building Apache NetBeans with JDK 11

2019-07-11 Thread Geertjan Wielenga
Never mind, I had to set JAVA_HOME to the same JDK as the JDK I am using
for running Ant. Now everything is going well.

Gj

On Thu, Jul 11, 2019 at 11:34 AM Geertjan Wielenga 
wrote:

> Hi all,
>
> I'm especially interested in getting us to a point where we can build on
> the latest Java LTS release.
>
> So I tried to run ant like this (on Mac OSX):
>
> ant
> -Djavac.executable=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
> -Dpermit.jdk9.builds=true
>
> Quite quickly this results in the following:
>
> compile:
>  [nb-javac] Compiling 45 source files to
> /Users/geertjanwielenga/Downloads/netbeans-11.1-vc1-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.
>   [nbmerge] Failed to build target: all-openide.util
>
> BUILD FAILED
>
> Does anyone have ideas?
>
> Thanks,
>
> Gj
>