Re: NetBeans source build failure on my macbook

2018-07-10 Thread Tushar Joshi
On Tue, Jul 10, 2018 at 11:00 PM, Nelson Cazonda wrote: > I agree with Simon. Somehow Tushar is not using jdk8. > > I have JDK 10 as well as JDK 8 on my Macbook. I am using Jenv to switch the environments, even if I switched to JDK 1.8 globally, Ant command was still using the latest Java 10 I d

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Tushar Joshi
On Tue, Jul 10, 2018 at 10:40 PM, Simon IJskes - QCG wrote: > can you post the result of: > > ant -diagnostics > > G. Simon This hint solved my issue. The ant diagnostics told me that Ant is still using Java 10 even if I have switched to JDK 1.8 using jenv. I defined JAVA_HOME pointing to Java

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Nelson Cazonda
I agree with Simon. Somehow Tushar is not using jdk8. On Tue, Jul 10, 2018 at 7:11 PM Simon IJskes - QCG wrote: > can you post the result of: > > ant -diagnostics > > G. Simon > > On 07/10/2018 05:51 PM, Tushar Joshi wrote: > > Hi All, > > > > Just downloaded the latest V3 sources and verified t

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Simon IJskes - QCG
can you post the result of: ant -diagnostics G. Simon On 07/10/2018 05:51 PM, Tushar Joshi wrote: Hi All, Just downloaded the latest V3 sources and verified then as correct SHA1 Now when I am building it using ant command the build is failing. I may be missing some basic point, has anyone fa

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Simon IJskes - QCG
Maybe the OP has an alias defined for java? G. Simon On 07/10/2018 07:00 PM, Simon IJskes - QCG wrote: >>>   [javac]   (package sun.reflect.annotation is declared in module >>> java.base, which does not export it to module java.compiler) Is not a JDK 8 error message i think. Is it? G. S

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Simon IJskes - QCG
>>> [javac] (package sun.reflect.annotation is declared in module >>> java.base, which does not export it to module java.compiler) Is not a JDK 8 error message i think. Is it? G. Simon On 07/10/2018 06:56 PM, Geertjan Wielenga wrote: From the initial message in this thread, jdk8 was u

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Geertjan Wielenga
>From the initial message in this thread, jdk8 was used: java version "1.8.0_172" Thanks, Gj On Tue, Jul 10, 2018 at 6:54 PM, Simon IJskes - QCG wrote: > Could you try building with jdk8? > > G. Simon > > > On 07/10/2018 05:51 PM, Tushar Joshi wrote: > >> Hi All, >> >> Just downloaded the l

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Simon IJskes - QCG
Could you try building with jdk8? G. Simon On 07/10/2018 05:51 PM, Tushar Joshi wrote: Hi All, Just downloaded the latest V3 sources and verified then as correct SHA1 Now when I am building it using ant command the build is failing. I may be missing some basic point, has anyone faced such an

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Geertjan Wielenga
I'm on Mac OSX 10.13.5 too. If you downgrade your Ant to this, we'll have the same environment: Apache Ant(TM) version 1.10.1 compiled on February 2 2017 Possibly what you've discovered is some kind of problem with the latest Ant, which, judging by the June 19 date, is extremely recent. Gj On

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Tushar Joshi
One additional point, the binary version worked on my machine smoothly. No issues with the binary ZIP with regards Tushar

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Tushar Joshi
On Tue, Jul 10, 2018 at 9:39 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com.invalid> wrote: > Maybe problem with your Ant version? > > $ ant -version Apache Ant(TM) version 1.10.4 compiled on June 19 2018 This is it. macOS High Sierra 10.13.5

Re: NetBeans source build failure on my macbook

2018-07-10 Thread Geertjan Wielenga
Maybe problem with your Ant version? Gj On Tuesday, July 10, 2018, Tushar Joshi wrote: > Hi All, > > Just downloaded the latest V3 sources and verified then as correct SHA1 > Now when I am building it using ant command the build is failing. > > I may be missing some basic point, has anyone face

NetBeans source build failure on my macbook

2018-07-10 Thread Tushar Joshi
Hi All, Just downloaded the latest V3 sources and verified then as correct SHA1 Now when I am building it using ant command the build is failing. I may be missing some basic point, has anyone faced such an issue? with regards Tushar The logs: $ java -version java version "1.8.0_172" Java(TM)