Re: [java] Ant using incorrect JDK for building

2021-01-23 Thread Karan Agrawal
;> > >> I don't think you should have two JDKs > >> in the PATH environment variable. It is a but messy. > >> > >> ANT picks JDK 15 and compilation fails. > > >> It looks like ant build script is picking up from PATH. > >> >

Re: [java] Ant using incorrect JDK for building

2021-01-21 Thread Karan Agrawal
21, 2021 at 4:24 PM Zahid Rahman wrote: > Just a guess. > > Do you have JDK 15 installed and included in the windows 10 environment > PATH variable ? > > > > > Z. > > https://www.backbutton.co.uk/ > ¯\_(ツ)_/¯ > ♡۶♡۶ ♡۶ > > On Thu, 21 Jan 2021, 10

[java] Ant using incorrect JDK for building

2021-01-21 Thread Karan Agrawal
Hello Experts, I have migrated from Netbeans 8.0 to Apache Netbeans 12.2 My Java Projects uses JDK 8 with ANT. Therefore, after opening the projects in Netbeans 12.2, I have added JDK8 in the platform and updated *Project Properties* accordingly. With Netbeans 12.2, when "clean and build" is