On Thu, 11 Feb 2021 at 17:18, Laszlo Kishalmi <[email protected]> wrote: > Most probably your build is still using Java 15 Secretly. I'd recommend > you to check your property files. Maybe try to run ant with --debug > output it in a file and try to look for java 15, to detect how that gets > infiltrated into your process.
At a guess this might be JAVA_HOME being wrong, or missing entirely and ant finding the wrong JDK - something familiar-ish about https://github.com/apache/ant/blob/master/src/script/ant#L128 Jeremy, have you tried doing - export JAVA_HOME=/path/to/jdk ant build ?? Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
