Hello again.
Now I'm a little suspicious on whether your problem is caused by ANT
picking JDK 15 to compile. The presence of JDK 15 properties doesn't
mean that it's using it to compile,
>In build output in debug mode, it shows "Detected Java version 15" and "Java
>Version: 15.0.1"
See, in my sm
Hi Juan,
Platform update is done through the window; did not modify project.properties
file manually.
There is one modification to generate Java classes from a wsdl file, using
"wsimport" which is present in JAVA_HOME/bin.
This, however, works well as long as JDK 8 is used. Build file is workin
Hello, here's my two cents:
> Therefore, after opening the projects in Netbeans 12.2, I have added JDK8 in
> the platform and updated Project Properties accordingly.
Just to confirm, you did this through the project properties window
and not by manually editing project.properties correct?
Speakin
Have a look at this page.
I think the other way to get ANT to run specified JDK may be to specify in
the build.xml
https://stackoverflow.com/questions/949678/ant-is-using-wrong-java-version
Z.
https://www.backbutton.co.uk/
¯\_(ツ)_/¯
♡۶♡۶ ♡۶
On Thu, 21 Jan 2021, 11:53 Zahid Rahman, wrote:
>
> Although, JDK8 appears before JDK15 in the System's PATH variable
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.
if you run java - version get
Yes Zahid.
The point is - I would be using Netbeans for Java 11+ projects as well.
Although, JDK8 appears before JDK15 in the System's PATH variable
If I make a change in netbeans.conf, then I will have to start at least 2
instances of netbeans and also install nb-javac (probably)
On Thu, Jan 21
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:45 Karan Agrawal, wrote:
> Hello Experts,
>
> I have migrated from Netbeans 8.0 to Apache Netbeans 12.2
>
> My
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 tri